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_wrapper.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/socket/net_mod_socket_wrapper.h b/src/socket/net_mod_socket_wrapper.h
index 1a15003..099e0a0 100644
--- a/src/socket/net_mod_socket_wrapper.h
+++ b/src/socket/net_mod_socket_wrapper.h
@@ -74,8 +74,8 @@
  * 濡傛灉寤虹珛杩炴帴鐨勮妭鐐规病鏈夋帴鍙楀埌娑堟伅绛夊緟timeout鐨勬椂闂村悗杩斿洖
  * @timeout 绛夊緟鏃堕棿锛屽崟浣嶆槸鍗冨垎涔嬩竴绉�
 */
-int net_mod_socket_sendandrecv_timout(void *_sockt, 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);
+int net_mod_socket_sendandrecv_timeout(void *_sockt, 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);
 
 /**
  * 涓嶇瓑寰呯珛鍗宠繑鍥�
@@ -93,7 +93,6 @@
  * @return 鎴愬姛鍙戝竷鐨勮妭鐐圭殑涓暟
  */
 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);
-
 
 
 /**
@@ -121,7 +120,7 @@
  * @size 涓婚闀垮害
  * @port 鎬荤嚎绔彛
  */
-int  net_mod_socket_desub(void * _socket, void *topic, int size, int port);
+int  net_mod_socket_desub(void * _socket, void *topic, int size, int key);
 // 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇
 int  net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int port, int sec, int nsec);
 int  net_mod_socket_desub_nowait(void * _socket, void *topic, int size, int port);
@@ -131,7 +130,7 @@
 /**
  * 鑾峰彇soket绔彛鍙�
  */
-int net_mod_socket_get_port(void * _socket) ;
+int net_mod_socket_get_key(void * _socket) ;
 
 
 

--
Gitblit v1.8.0