From 546bdaa58724ec6a19b56e800ad60963bd3bd1bc Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 04 二月 2021 11:42:24 +0800
Subject: [PATCH] modify callback function

---
 src/net/net_mod_socket.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/net/net_mod_socket.h b/src/net/net_mod_socket.h
index 7d64bb1..a2acc55 100644
--- a/src/net/net_mod_socket.h
+++ b/src/net/net_mod_socket.h
@@ -195,7 +195,10 @@
 
   
 
-  int recvandsend(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback,
+  /**
+   * recvandsend
+   */
+  int recvandsend( recvandsend_callback_fn callback,
                                         const struct timespec *timeout = NULL , int flag = 0, void * user_data = NULL );
 
   /**

--
Gitblit v1.8.0