From 1e29d9ab6047c765c9cab7d79f6baf7e96eea7fd Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期五, 08 一月 2021 11:30:57 +0800
Subject: [PATCH] update

---
 src/socket/net_mod_socket_wrapper.h |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/src/socket/net_mod_socket_wrapper.h b/src/socket/net_mod_socket_wrapper.h
index 421733f..2522719 100644
--- a/src/socket/net_mod_socket_wrapper.h
+++ b/src/socket/net_mod_socket_wrapper.h
@@ -39,12 +39,12 @@
 int net_mod_socket_force_bind(void * _socket, int key);
 
 /**
- * 鍙戦�佷俊鎭�
+ * 鍙戦�佷俊鎭�,鍙戦�佸畬鎴愭墠杩斿洖
  * @key 鍙戦�佺粰璋�
  * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜
  */
 int net_mod_socket_sendto(void *_socket, const void *buf, const int size, const int key);
-// 鍙戦�佷俊鎭秴鏃惰繑鍥炪�� @sec 绉� 锛� @nsec 绾崇
+// 鍙戦�佷俊鎭紝 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇
 int net_mod_socket_sendto_timeout(void *_socket, const void *buf, const int size, const int key, int sec, int nsec);
 // 鍙戦�佷俊鎭珛鍒昏繑鍥炪��
 int net_mod_socket_sendto_nowait(void *_socket, const void *buf, const int size, const int key);
@@ -84,13 +84,6 @@
   net_mod_recv_msg_t ** recv_arr, int *recv_arr_size) ;
 
 
-/**
- * 鍚姩bus
- * 
- * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜
-*/
-int  net_mod_socket_start_bus(void * _socket);
-
 
  /**
  * 鍚憂ode_arr 涓殑鎵�鏈夌綉缁滆妭鐐瑰彂甯冩秷鎭�
@@ -112,10 +105,10 @@
  * @size 涓婚闀垮害
  * @key 鎬荤嚎绔彛
  */
-int  net_mod_socket_sub(void * _socket, void *topic, int size, int key);
+int  net_mod_socket_sub(void * _socket, void *topic, int size);
 // 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇
-int  net_mod_socket_sub_timeout(void * _socket, void *topic, int size, int key, int sec, int nsec);
-int  net_mod_socket_sub_nowait(void * _socket, void *topic, int size, int key);
+int  net_mod_socket_sub_timeout(void * _socket, void *topic, int size,  int sec, int nsec);
+int  net_mod_socket_sub_nowait(void * _socket, void *topic, int size);
 
 
 /**
@@ -124,10 +117,10 @@
  * @size 涓婚闀垮害
  * @key 鎬荤嚎绔彛
  */
-int  net_mod_socket_desub(void * _socket, void *topic, int size, int key);
+int  net_mod_socket_desub(void * _socket, void *topic, int size);
 // 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇
-int  net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int key, int sec, int nsec);
-int  net_mod_socket_desub_nowait(void * _socket, void *topic, int size, int key);
+int  net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int sec, int nsec);
+int  net_mod_socket_desub_nowait(void * _socket, void *topic, int size);
 
 
 /**

--
Gitblit v1.8.0