src/net/net_mod_socket.h
@@ -62,10 +62,8 @@ private: ShmModSocket shmModSocket; // pool req_resp_pool; NetConnPool *gpool; pthread_mutex_t sendMutex; // pthread_mutex_t sendMutex; // request header 编码为网络传输的字节 static void * encode_request_head(net_mod_request_head_t & request); @@ -100,7 +98,7 @@ NetModSocket(); ~NetModSocket(); int stop(); /** * 绑定端口到socket, 如果不绑定则系统自动分配一个 * @return 0 成功, 其他值 失败的错误码