/// <summary> /// 发送消息 /// </summary> /// <param name="sentBuffer">发送内容(byte[] 类型)</param> /// <param name="strEndPoint">已连接服务器的远端字符串类型地址</param> public void Send(byte[] sentBuffer, string strEndPoint) { Send(sentBuffer, SocketTools.StrToEndPoint(strEndPoint)); }