wangzhengquan
2020-07-28 66e36f251a61c8b6722a90ecfb195e28c87dd99a
src/socket/include/shm_socket.h
@@ -44,6 +44,7 @@
   shm_socket_type_t socket_type;
   // 本地port
   int port;
   bool force_bind;
   shm_connection_status_t status;
   SHMQueue<shm_msg_t> *queue;
   SHMQueue<shm_msg_t> *remoteQueue;
@@ -65,6 +66,9 @@
int shm_socket_bind(shm_socket_t * socket, int port) ;
int shm_socket_force_bind(shm_socket_t * socket, int port) ;
int shm_listen(shm_socket_t * socket) ;
shm_socket_t* shm_accept(shm_socket_t* socket);