public void Connect(IPAddress address, int port) { lock (_syncObject) { _socket.Connect(address, port); } }
public void Connect(IPAddress address, int port) { _socket.Connect(address, port); _ioThread.Start(); }