From 2b1f534ea407a8ec0b94e0389a360f6cdff54598 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期三, 08 九月 2021 14:02:38 +0800 Subject: [PATCH] call C.BHFree after return success --- src/net/net_mod_socket_wrapper.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/net/net_mod_socket_wrapper.h b/src/net/net_mod_socket_wrapper.h index b4941c0..b869510 100644 --- a/src/net/net_mod_socket_wrapper.h +++ b/src/net/net_mod_socket_wrapper.h @@ -12,6 +12,7 @@ #define __NET_MOD_SOCKET_H__ #include "net_mod_socket.h" +#include "proc_def.h" #ifdef __cplusplus extern "C" { @@ -55,6 +56,8 @@ */ int net_mod_socket_force_bind(void * _socket, int key); +int net_mod_socket_reg(void *_socket, void *pData, int len, void **buf, int *size, const int timeout_ms, int flag); + /** * @brief 鍙戦�佷俊鎭�,鍙戦�佸畬鎴愭墠杩斿洖 * -- Gitblit v1.8.0