|
Description
Monitors for connections on a TCP/IP port.
Source Files
RtxTcpServer project source file:
RtxTcpServer.c
is a sample application that demonstrates
the functionality of the RTX TCP/IP protocol stack. Build the Sample
Run the Sample
I
flag set to the machine's IP address.Remarks
The server program can be built as an .rtss or .exe executable binary file and run in the real-time or Win32 environment.
Usage
server.exe i= destination ip_address [options]
Options
i= source IP address (if needed)
v= 0 or 1 verbose flag prints extra info (default 0)
p= Port Number (default=9999)
n= 0,1 - Nagle Alg. Disabled(default), Enabled
f= v4 or v6 (default=v4)
/udp - use udp instead of tcp
/s - Use single threading (multi-threaded is the default)
/? - displays this message
APIs Referenced
RTAPI |
Win32 APIs |
Winsock BSD APIs |
See Also