From 579efb2289bc7391e68875fc58ada395ca1a6e2a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 27 Sep 2020 11:16:21 +0800 Subject: [PATCH] 1 --- cpp/protoutils.cc | 7 +++++++ cpp/protoutils.h | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/cpp/protoutils.cc b/cpp/protoutils.cc index 6c0cc3d..3d10333 100644 --- a/cpp/protoutils.cc +++ b/cpp/protoutils.cc @@ -341,5 +341,12 @@ namespace f8 free(buff); return sizeof(WSProxyPackHead_S) + packlen; } + + int Net_SendProxyMsg(a8::TcpListener* tcp_tlistener, int socket_handle, + unsigned int seqid, unsigned short error_code, + unsigned short msgid, const std::string& data) + { + + } } diff --git a/cpp/protoutils.h b/cpp/protoutils.h index dab421c..bd025cc 100644 --- a/cpp/protoutils.h +++ b/cpp/protoutils.h @@ -136,4 +136,8 @@ namespace f8 int Net_SendProxyMsg(a8::TcpListener* tcp_tlistener, int socket_handle, unsigned int seqid, unsigned short error_code, unsigned short msgid, ::google::protobuf::Message& msg); + int Net_SendProxyMsg(a8::TcpListener* tcp_tlistener, int socket_handle, + unsigned int seqid, unsigned short error_code, + unsigned short msgid, const std::string& data); + }