Exemplo n.º 1
0
 public override void Disconnect()
 {
     Console.WriteLine("Disconnecting...");
     InnerThread.Abort();
     ObjSocket.Shutdown(SocketShutdown.Both);
     ObjSocket.Close();
 }
Exemplo n.º 2
0
 public override void StopWorking()
 {
     ObjSocket.Shutdown(SocketShutdown.Both);
     ObjSocket.Close();
 }