From 2d44fab94cdf6cf8a58e20e5dd68043340cbdb63 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 27 十一月 2020 16:04:51 +0800 Subject: [PATCH] update --- src/socket/net_mod_socket_wrapper.h | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/socket/net_mod_socket_wrapper.h b/src/socket/net_mod_socket_wrapper.h index 099e0a0..ff5915d 100644 --- a/src/socket/net_mod_socket_wrapper.h +++ b/src/socket/net_mod_socket_wrapper.h @@ -35,6 +35,7 @@ * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜 */ int net_mod_socket_force_bind(void * _socket, int port); + /** * 鍙戦�佷俊鎭� * @port 鍙戦�佺粰璋� @@ -84,6 +85,13 @@ net_mod_recv_msg_t ** recv_arr, int *recv_arr_size) ; +/** + * 鍚姩bus + * + * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜 +*/ +int net_mod_socket_start_bus(void * _socket); + /** * 鍚憂ode_arr 涓殑鎵�鏈夌綉缁滆妭鐐瑰彂甯冩秷鎭� @@ -95,12 +103,6 @@ int net_mod_socket_pub(void *_sockt, net_node_t *node_arr, int node_arr_len, char *topic, int topic_size, void *content, int content_size); -/** - * 鍚姩bus - * - * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜 -*/ -int net_mod_socket_start_bus(void * _socket); /** * 璁㈤槄鎸囧畾涓婚 @@ -126,12 +128,10 @@ int net_mod_socket_desub_nowait(void * _socket, void *topic, int size, int port); - /** * 鑾峰彇soket绔彛鍙� */ int net_mod_socket_get_key(void * _socket) ; - /** -- Gitblit v1.8.0