socket.h: set SOMAXCONN default value to 8

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2021-10-19 22:48:14 +08:00 committed by Xiang Xiao
parent 860370284e
commit 131e8dc7e7
1 changed files with 1 additions and 1 deletions

View File

@ -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 */