RT-TCP/IP Samples

This section provides information on the sample applications included with RT-TCP/IP, along with usage information for each sample.

The RTX Runtime product includes binaries of the RT-TCP/IP sample applications. The RTX SDK product includes the RT-TCP/IP sample application source code.

For a list of APIs used in each sample, see the RTX Example Reference. An overview of each sample is given below. For more detailed information, click the links.

The RTX SDK includes a sample Client and Server application that illustrates the use of the API and can be used to benchmark the performance of the RtxTcpIp Protocol Stack. Both Client and Server applications support IPv4 as well as IPv6 communications.

Microsoft Visual Studio project files are provided for building the samples. The samples may be built for Win32 Release, Win32 Debug, RTSS Release and RTSS Debug. When you run the Win32 Release and Debug configurations (EXE images), these programs use the Windows protocol stack and NIC. When you run the RTSS Release and Debug configurations (RTSS images), these programs use the RtxTcpIp Protocol Stack and RTX NIC.

Both the client and server sample run as console applications. Each has UDP and TCP modes of operation. By default, port 9999 is used for communication. The port number and packet size are command line options. These are discussed in more detail in these topics:

The RT-TCP/IP SDK adds a MicroWeb HTTP server and "Microsoft STOP Message" demonstration sample code for use with the integrated Real Time TCP/IP networking capability. The web server sample should be built and run as an RTSS image only.

To illustrate the capability of IGMP Multicast for RT-TCP/IP, a sample Data Reflector is provided in the SDK. This sample should be built and run as an RTSS image only.

These samples illustrate filter driver functionality.

Topics:

IntervalZero.com | Support | Give Feedback