src/socket/shm_mod_socket.h
@@ -87,9 +87,10 @@ const struct timespec *timeout = NULL, int flag = 0); // 超时返回。 @sec 秒 , @nsec 纳秒 int sendandrecv_unsafe(const void *send_buf, const int send_size, const int key, void **recv_buf, int *recv_size, const struct timespec *timeout = NULL, int flag = 0) ; /** * */ int recvandsend( recvandsend_callback_fn callback, const struct timespec *timeout = NULL , int flag = 0, void * user_data = NULL); /** * 订阅指定主题