wangzhengquan
2020-10-13 0da7d09982d61ea6864cec53e2341b51b30cf208
src/socket/net_mod_socket.h
@@ -10,6 +10,8 @@
#define NET_MODE_REQUEST_HEAD_LENGTH 16
#define NET_MODE_RESPONSE_HEAD_LENGTH 4
class NetModServerSocket;
struct net_node_t
{
   const char *host;
@@ -43,7 +45,7 @@
};
class NetModSocket {
  friend class NetModServerSocket;
private:
   static std::map<std::string, rio_t *> connectionMap;
   ShmModSocket shmModSocket;
@@ -54,7 +56,7 @@
  static void * encode_response_head(net_mod_response_head_t & response);
  static net_mod_response_head_t  decode_response_head(void *_headbs);
public:
   
  NetModSocket();