From 9a1232016472cf7bf02dd2f79796370477aac8e2 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Sun, 19 Nov 2023 21:07:02 +0800 Subject: [PATCH] improve socket_helper --- src/tkc/socket_helper.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tkc/socket_helper.c b/src/tkc/socket_helper.c index 270f965b7..9754d3cfa 100644 --- a/src/tkc/socket_helper.c +++ b/src/tkc/socket_helper.c @@ -353,4 +353,12 @@ int32_t tk_socket_recvfrom(int sock, void* buffer, uint32_t size, int flags, return ret; } +#else +ret_t tk_socket_init(void) { + return RET_OK; +} + +ret_t tk_socket_deinit(void) { + return RET_OK; +} #endif /*WITH_SOCKET*/