summaryrefslogtreecommitdiff
path: root/nuttx/examples/nettest/nettest-server.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-19 23:09:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-19 23:09:39 +0000
commit0cc9b5ef69aa200c2610f3e87281fe9aa9d7d389 (patch)
tree3b0f4ca1b8066bdd68f41c4640f074c9b5535ffa /nuttx/examples/nettest/nettest-server.c
parentbefc37ada0b901ad7c315e4089976508396d496b (diff)
downloadpx4-nuttx-0cc9b5ef69aa200c2610f3e87281fe9aa9d7d389.tar.gz
px4-nuttx-0cc9b5ef69aa200c2610f3e87281fe9aa9d7d389.tar.bz2
px4-nuttx-0cc9b5ef69aa200c2610f3e87281fe9aa9d7d389.zip
Add TCP readahead logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@387 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nettest/nettest-server.c')
-rw-r--r--nuttx/examples/nettest/nettest-server.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/nuttx/examples/nettest/nettest-server.c b/nuttx/examples/nettest/nettest-server.c
index 984dee6b3..354f0560a 100644
--- a/nuttx/examples/nettest/nettest-server.c
+++ b/nuttx/examples/nettest/nettest-server.c
@@ -194,17 +194,6 @@ void recv_server(void)
}
}
-#ifdef CONFIG_EXAMPLE_NETTEST_HOST
- /* At present, data received by the target before it is completed the
- * the write opertion and started the read operation results in a failure
- * (the data is not received, but it is ACKed). This will have to be
- * fixed.
- */
-
-# warning "FIXME: This should not be necessary"
- sleep(10);
-#endif
-
/* Then send the same data back to the client */
message("server: Sending %d bytes\n", totalbytesread);