public override void Disconnect() { Console.WriteLine("Disconnecting..."); InnerThread.Abort(); ObjSocket.Shutdown(SocketShutdown.Both); ObjSocket.Close(); }
public override void StopWorking() { ObjSocket.Shutdown(SocketShutdown.Both); ObjSocket.Close(); }