mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
net/tcp/tcp_backlog.c: Add SOMAXCONN definition and implementaton per OpenGroup.org.
This commit is contained in:
@@ -220,6 +220,14 @@
|
||||
* operations
|
||||
*/
|
||||
|
||||
/* The maximum backlog queue length */
|
||||
|
||||
#ifdef CONFIG_NET_TCPBACKLOG_CONNS
|
||||
# define SOMAXCONN CONFIG_NET_TCPBACKLOG_CONNS
|
||||
#else
|
||||
# define SOMAXCONN 0
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user