Test client
The test client is used to send and receive single UDP data packets to and from a UDP server.
Description
The client itself uses port 11000 for sending. At the same time it opens this port and displays received messages in the upper part of the interface as a log:
Together with the PLC / C++ samples, this results in an echo sample:
A UDP message is sent from the client port 11000 to the server port 10000, which sends the same data back to the sender.
The client can be configured via the interface:
- Destination: Destination IP address
- Port: The port that is addressed in the target
- Source: Sender network card (IP address).
"OS-based" operating system deals with selection of the appropriate network card. - Message
The TF6311 "TCP/UDP Realtime" does not allow local communication. However, for testing purposes a different network interface can be selected via "Source", so that the UDP packet leaves the computer through one network card and arrives on the other network card ("loop cable").