void OnApplicationQuit() { //退出时关闭连接 tcpClient.SocketQuit(); }
public void close() { client.SocketQuit(); }