/// <summary> /// 发送消息 /// </summary> /// <param name="buffer"></param> public void SendMsg(byte[] buffer) { m_MainSocket.SendMsg(buffer); }
/// <summary> /// 发送消息 /// </summary> /// <param name="buffer"></param> public void SendMsg(IProto proto) { m_MainSocket.SendMsg(proto.ToArray()); }