public MicroSocket(Socket socket) { m_socket = socket; m_socket.Blocking = false; MicroSocketManager.AddSocket(this); }
public MicroSocket() { m_socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); m_socket.Blocking = false; MicroSocketManager.AddSocket(this); }