public void Connect(string host, int port) { if (_socket == null) { createSocket(); } _socket.Connect(host, port); }