/// <summary> /// 回复请求 /// </summary> /// <param name="obj"></param> public void Sendres(SocketResponseBase obj) { SendData(JsonConvert.SerializeObject(obj)); }
/// <summary> /// 发送回执 /// </summary> /// <param name="obj"></param> public void SendresToClient(SocketResponseBase obj) { SendToClient(ip, JsonConvert.SerializeObject(obj)); }