예제 #1
0
 public void Connect(IPAddress address, int port)
 {
     lock (_syncObject)
     {
         _socket.Connect(address, port);
     }
 }
예제 #2
0
 public void Connect(IPAddress address, int port)
 {
     _socket.Connect(address, port);
     _ioThread.Start();
 }