From a856e56b3943041d64a22285c550f6dbb9d2e193 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 27 十一月 2020 15:53:43 +0800 Subject: [PATCH] update --- src/socket/net_mod_socket.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/socket/net_mod_socket.h b/src/socket/net_mod_socket.h index 80e98cc..febb429 100644 --- a/src/socket/net_mod_socket.h +++ b/src/socket/net_mod_socket.h @@ -124,7 +124,7 @@ * 濡傛灉寤虹珛杩炴帴鐨勮妭鐐规病鏈夋帴鍙楀埌娑堟伅绛夊緟timeout鐨勬椂闂村悗杩斿洖 * @timeout 绛夊緟鏃堕棿锛屽崟浣嶆槸鍗冨垎涔嬩竴绉� */ - int sendandrecv_timout(net_node_t *node_arr, int arrlen, void *send_buf, int send_size, + int sendandrecv_timeout(net_node_t *node_arr, int arrlen, void *send_buf, int send_size, net_mod_recv_msg_t ** recv_arr, int *recv_arr_size, int timeout); /** @@ -222,7 +222,7 @@ int pub_nowait( char *topic, int topic_size, void *content, int content_size, int port); - + /** * 鍚憂ode_arr 涓殑鎵�鏈夌綉缁滆妭鐐瑰彂甯冩秷鎭� * @node_arr 缃戠粶鑺傜偣缁�, @node_arr_len璇ユ暟缁勯暱搴� @@ -233,9 +233,9 @@ int pub(net_node_t *node_arr, int node_arr_len, char *topic, int topic_size, void *content, int content_size); /** - * 鑾峰彇soket绔彛鍙� + * 鑾峰彇soket key */ - int get_port() ; + int get_key() ; /** * 閿�姣乻endandrecv鏂规硶杩斿洖鐨勬秷鎭粍 -- Gitblit v1.8.0