From 607ac3ae8bfc017e10a7907e69dcbc3ab2a0fb63 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 05 二月 2021 13:54:56 +0800 Subject: [PATCH] add stop method --- src/net/net_mod_socket_wrapper.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/net/net_mod_socket_wrapper.h b/src/net/net_mod_socket_wrapper.h index 79cb7d7..e29fe5b 100644 --- a/src/net/net_mod_socket_wrapper.h +++ b/src/net/net_mod_socket_wrapper.h @@ -29,12 +29,16 @@ */ void * net_mod_socket_open(); + /** * @brief 鍏抽棴 net_mod_socket */ void net_mod_socket_close(void *_sockt); - +/** + * @brief 鍋滄 net_mod_socket + */ +int net_mod_socket_stop(void *_sockt); /** * @brief 缁戝畾绔彛鍒皊ocket, 濡傛灉涓嶇粦瀹氬垯绯荤粺鑷姩鍒嗛厤涓�涓� -- Gitblit v1.8.0