From 9dabe1828aa58de1be9222dc10698aef59476f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=98=82?= <15606216810@163.com> Date: Mon, 8 Aug 2022 09:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9socket=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/stack_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/stack_config.h b/config/stack_config.h index c92d18e1..37971942 100644 --- a/config/stack_config.h +++ b/config/stack_config.h @@ -54,13 +54,13 @@ #define CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS -1 /* set socket buffer size. 1 -> enable */ -#define CONFIG_SET_SOCKET_BUFSIZE 0 +#define CONFIG_SET_SOCKET_BUFSIZE 1 /* size (in KB) SOCKET RCVBUF */ -#define CONFIG_SOCKET_RCVBUFSIZE 512 +#define CONFIG_SOCKET_RCVBUFSIZE 128 /* size (in KB) SOCKET SNDBUF */ -#define CONFIG_SOCKET_SNDBUFSIZE 512 +#define CONFIG_SOCKET_SNDBUFSIZE 128 /* activate TCP keep alive mechanism. 1 -> activate */ #define CONFIG_ACTIVATE_TCP_KEEPALIVE 1