socket.h: set SOMAXCONN default value to 8
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
860370284e
commit
131e8dc7e7
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue