Add non-blocking capability for TCP sockets

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1996 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-07-19 13:50:08 +00:00
parent 297cb5e256
commit b63c500c14
6 changed files with 93 additions and 18 deletions
+7 -8
View File
@@ -44,15 +44,10 @@
#undef CONFIG_THTTPD
#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && \
defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRONMENT)
# define CONFIG_THTTPD
#else
# warning "THTTPD not built because dependenciesnot selected in configuration"
#endif
defined(CONFIG_NET_TCPBACKLOG) && !defined(CONFIG_DISABLE_ENVIRONMENT) && \
CONFIG_NET_NTCP_READAHEAD_BUFFERS > 0
#if !defined(CONFIG_NET_NTCP_READAHEAD_BUFFERS) || CONFIG_NET_NTCP_READAHEAD_BUFFERS < 1
# warning "CONFIG_NET_NTCP_READAHEAD_BUFFERS > 0 is recommended"
#endif
# define CONFIG_THTTPD 1
/* Check all THTTPD configuration settings. Complain on any that should have
* been defined but were not. Supply some kind of reasonable value for all
@@ -201,5 +196,9 @@
* referrers.
*/
#else /* Dependencies not provided */
# warning "THTTPD not built because dependencies not selected in configuration"
#endif /* Dependencies not provided */
#endif /* __NETUTILS_THTTPD_VERSION_H */