UDP

Description

This sample includes a simplified UDP server and a simplified UDP client.

Source Files

File Description
UDPClient.c Source File for UDP Client.
UDPClientServer.h Header file.
UDPServer.c Source File for UDP Server.
UDPClient_VS<Visual Studio Version>.vcxproj Client Project file for supported versions of Visual Studio.
UDPServer_VS<Visual Studio Version>.vcxproj Server Project file for supported versions of Visual Studio.
UDP_VS<Visual Studio Version>.sln Solution file for supported versions of Visual Studio.
ReadMe.txt Text file containing a description of the sample and a list of provided files.

Running the Sample

NOTE: This sample will choose the first interface IP. If you are using the Virtual Network, and you want to use an actual Network Interface Card for this sample, disable the Virtual NIC.

Launch RtssRun and type the following:

Rtssrun UDPServer.rtss

Rtssrun UDPClient.rtss <server IP Address>

APIs Referenced

RTAPI

Supported Windows API

Winsock BSD API

See Also

TCPIP

RtTcpipClient

RtTcpipServer