添加挂机协议
This commit is contained in:
parent
fc1b2ec66c
commit
461fceb651
@ -102,9 +102,7 @@ void GCListener::ForwardTargetConnMsg(MsgHdr& hdr)
|
||||
head->msgid = hdr.msgid;
|
||||
head->seqid = hdr.seqid;
|
||||
head->magic_code = MAGIC_CODE;
|
||||
#if 1
|
||||
head->rpc_error_code = hdr.ip_saddr;
|
||||
#endif
|
||||
head->reserved = 0;
|
||||
if (hdr.buflen > 0) {
|
||||
memmove(buff + sizeof(PackHead), hdr.buf, hdr.buflen);
|
||||
}
|
||||
|
@ -6,11 +6,6 @@ namespace a8
|
||||
class TcpListener;
|
||||
}
|
||||
|
||||
namespace ss
|
||||
{
|
||||
class SS_RS_ForwardClientMsg;
|
||||
}
|
||||
|
||||
class GCListener : public a8::Singleton<GCListener>
|
||||
{
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user