/// <summary> /// 关闭所有连接 /// </summary> public void Close() { if (m_net_socket != null) { m_net_socket.Close(); m_net_socket = null; } }