From 21f03d8d05e5c04953e31d7e4360346031603511 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 04 二月 2021 11:47:50 +0800
Subject: [PATCH] 修改注解

---
 src/net/net_mod_socket.cpp |   18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/src/net/net_mod_socket.cpp b/src/net/net_mod_socket.cpp
index f939c67..06ba5c2 100644
--- a/src/net/net_mod_socket.cpp
+++ b/src/net/net_mod_socket.cpp
@@ -498,22 +498,12 @@
 }
 
 
+int NetModSocket::recvandsend(recvandsend_callback_fn callback,
+                              const struct timespec *timeout , int flag, void * user_data ) {
 
-int NetModSocket::recvandsend(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback) {
-  return shmModSocket.recvandsend( recvbuf, recvsize, key, callback);
-
+  return shmModSocket.recvandsend(callback, timeout, flag, user_data);
 }
-
-int NetModSocket::recvandsend_timeout(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback,
-                              const struct timespec *timeout ) {
-  return shmModSocket.recvandsend( recvbuf, recvsize, key, callback, timeout, BUS_TIMEOUT_FLAG);
-
-}
-
-int NetModSocket::recvandsend_nowait(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback) {
-  return shmModSocket.recvandsend( recvbuf, recvsize, key, callback, NULL,  BUS_NOWAIT_FLAG);
-
-}
+ 
 
 /**
  * 鍙戦�佽姹備俊鎭苟绛夊緟鎺ユ敹搴旂瓟

--
Gitblit v1.8.0