Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="_msg"></param>
 /// <returns></returns>
 public bool SendMessage(MessageBase _msg)
 {
     //消息序列化
     Byte[] msg_body = SerializerHelper.SerializeMessage(_msg);
     return(m_client.Send(msg_body, msg_body.Length));
 }