summaryrefslogtreecommitdiff
path: root/apps/examples/README.txt
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-22 07:35:54 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-22 07:35:54 -0600
commit08750a096b1c72e577a102a619b9a0827d2f3b9d (patch)
tree9f3860b60e8d08d412097de00b98e112a162de77 /apps/examples/README.txt
parent801977de7c84d03616329795e1c59929ab948906 (diff)
downloadnuttx-08750a096b1c72e577a102a619b9a0827d2f3b9d.tar.gz
nuttx-08750a096b1c72e577a102a619b9a0827d2f3b9d.tar.bz2
nuttx-08750a096b1c72e577a102a619b9a0827d2f3b9d.zip
Add TCP echo server from Max Holtzberg
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r--apps/examples/README.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index b41e2f4c2..ac922a703 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -727,6 +727,8 @@ examples/nettest
CONFIGURED_APPS += uiplib
+ See also examples/tcpecho
+
examples/nsh
^^^^^^^^^^^^
@@ -1508,6 +1510,25 @@ examples/smart_test
* CONFIG_NSH_BUILTIN_APPS=y: This test can be built only as an NSH
command
+examples/tcpecho
+^^^^^^^^^^^^^^^^
+
+ Simple single threaded, poll based TCP echo server. This example implements
+ the TCP Echo Server from W. Richard Stevens UNIX Network Programming Book.
+ Contributed by Max Holtberg.
+
+ See also examples/nettest
+
+ * CONFIG_EXAMPLES_TCPECHO =y: Enables the TCP echo server.
+ * CONFIG_XAMPLES_TCPECHO_PORT: Server Port, default 80
+ * CONFIG_EXAMPLES_TCPECHO_BACKLOG: Listen Backlog, default 8
+ * CONFIG_EXAMPLES_TCPECHO_NCONN: Number of Connections, default 8
+ * CONFIG_EXAMPLES_TCPECHO_DHCPC: DHCP Client, default n
+ * CONFIG_EXAMPLES_TCPECHO_NOMAC: Use Canned MAC Address, default n
+ * CONFIG_EXAMPLES_TCPECHO_IPADDR: Target IP address, default 0x0a000002
+ * CONFIG_EXAMPLES_TCPECHO_DRIPADDR: Default Router IP address (Gateway), default 0x0a000001
+ * CONFIG_EXAMPLES_TCPECHO_NETMASK: Network Mask, default 0xffffff00
+
examples/telnetd
^^^^^^^^^^^^^^^^