public void SendPacket_AckChat(string msg) { Packet.CGAckChat sendPacket = new Packet.CGAckChat(); sendPacket.nickName = "jack"; sendPacket.chatData = msg; Send(sendPacket); //string sendJson = JsonMapper.ToJson(sendPacket); //m_writer.WriteLine(sendJson); //m_writer.Flush(); }