From 8cd8607510ca423089ca1b0266c22aeee685dcee Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 20 Nov 2008 19:24:06 +0000 Subject: Add support for TCP/IP connection backlog git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1294 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/ntosd-dm320/udp/defconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuttx/configs/ntosd-dm320/udp/defconfig') diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig index f2562d2ee..8237ac4b3 100644 --- a/nuttx/configs/ntosd-dm320/udp/defconfig +++ b/nuttx/configs/ntosd-dm320/udp/defconfig @@ -277,6 +277,8 @@ CONFIG_PREALLOC_TIMERS=8 # CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks) # CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers # CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers (may be zero) +# CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until +# accept() is called. The size of the backlog is selected when listen() is called. # CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks) # CONFIG_NET_UDP - UDP support on or off # CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off @@ -297,6 +299,8 @@ CONFIG_NET_SOCKOPTS=y CONFIG_NET_BUFSIZE=420 CONFIG_NET_TCP=n CONFIG_NET_TCP_CONNS=0 +CONFIG_NET_NTCP_READAHEAD_BUFFERS=16 +CONFIG_NET_TCPBACKLOG=n CONFIG_NET_MAX_LISTENPORTS=0 CONFIG_NET_UDP=y CONFIG_NET_UDP_CHECKSUMS=y -- cgit v1.2.3