/// <summary> /// 初始化Socket监听 /// </summary> private void InitSocket() { LinkManager.Listen(port, (ushort listen_port) => { Client client = new Client(); client.Listen(listen_port); }); }