My application freezes when connecting through System.Net.Sockets;
m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); m_Socket.Connect(Host, Port);
This is freezing because either the host is not accepting the connection or the port is not opening.
How can i fix this?
thanks
source share