This commit is contained in:
aozhiwei 2019-06-01 16:29:06 +08:00
parent d9187e0ba2
commit 07e588ca89
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ namespace f8
head->magic_code = MAGIC_CODE;
head->rpc_error_code = error_code;
head->socket_handle = child_socket_handle;
head->reserved = 0;
head->ext_len = packlen >> 16;
msg.SerializeToArray(buff + sizeof(WSProxyPackHead_S), packlen);
tcp_listener->SendClientMsg(parent_socket_handle, buff, sizeof(WSProxyPackHead_S) + packlen);

View File

@ -69,7 +69,7 @@ namespace f8
unsigned short rpc_error_code;
unsigned short socket_handle;
unsigned short reserved;
unsigned short ext_len;
};
struct MsgHdr