TcpServerSelect
The TCP Server Select Example is an example included with the NNDK. It can be found in \nburn\examples\TCP\TcpServerSelect.
Project Description
This program will create a TCP server task, which listens on port 23 by default. To test the application you can use Telnet. For example, from a windows commpan prompt, type "telent <ip address of netburner>.
This example uses the select() function to process the TCP connection. The real value of select() is that it can pend on multiple file descriptors, not just one as in this example. We are using one just to illustrate how it can be used.
A timeout is used to close the connection if no data is received in 10 timeout periods.
Requirements
- A network enabled NetBurner
- NetBurner's Eclipse IDE
Source Code
This source code is included for reference only.For up to date source, please use the example application source code included with your Development Kit
