From 131e8dc7e7288bdeb7302cdf486902987b89da28 Mon Sep 17 00:00:00 2001 From: ligd Date: Tue, 19 Oct 2021 22:48:14 +0800 Subject: [PATCH] socket.h: set SOMAXCONN default value to 8 Signed-off-by: ligd --- include/sys/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/socket.h b/include/sys/socket.h index 3653999576..8ce25190e5 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -239,7 +239,7 @@ #ifdef CONFIG_NET_TCPBACKLOG_CONNS # define SOMAXCONN CONFIG_NET_TCPBACKLOG_CONNS #else -# define SOMAXCONN 0 +# define SOMAXCONN 8 #endif /* Definitions associated with sendmsg/recvmsg */