summaryrefslogtreecommitdiff
path: root/nuttx/net/recvfrom.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-02 23:35:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-02 23:35:27 +0000
commit1169a1c394fac06c2c922cdd65afd9b00ce5afce (patch)
tree4f8aba554a72c335c47fda18723012ad492daa0c /nuttx/net/recvfrom.c
parent287259e702344f08c101996a47349e049bc7af27 (diff)
downloadpx4-nuttx-1169a1c394fac06c2c922cdd65afd9b00ce5afce.tar.gz
px4-nuttx-1169a1c394fac06c2c922cdd65afd9b00ce5afce.tar.bz2
px4-nuttx-1169a1c394fac06c2c922cdd65afd9b00ce5afce.zip
accept() now supports non-blocking operations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2011 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/recvfrom.c')
-rw-r--r--nuttx/net/recvfrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/recvfrom.c b/nuttx/net/recvfrom.c
index 345ec380a..e5fc27ac6 100644
--- a/nuttx/net/recvfrom.c
+++ b/nuttx/net/recvfrom.c
@@ -882,8 +882,8 @@ static ssize_t tcp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
recvfrom_readahead(&state);
- /* In general, this uI-based implementation will not support non-blocking
- * socket operations... except in this one case: TCP receive with read-ahead
+ /* In general, this uIP-based implementation will not support non-blocking
+ * socket operations... except in a few cases: Here for TCP receive with read-ahead
* enabled. If this socket is configured as non-blocking then return EAGAIN
* if no data was obtained from the read-ahead buffers.
*/