UDPFunctions for Controller and Simulator
UDP is a communications protocol which allows computers to exchange messages across an IP network.
When a UDP packet is sent to a broadcast address (e.g., 255.255.255.255), the controller automatically converts the given broadcast address to the broadcast address of its Ethernet interface.
Example
If the controller's IP address is
192.168.1.10and the subnet mask is255.255.255.0,
the controller's Ethernet interface broadcast address is192.168.1.255.
UDP Functions
This list of UDP functions allows a controller to communicate with a remote PC or another KAS controller over an Ethernet network.
|
Name |
Description |
|---|---|
|
Build an address buffer for UDP functions. |
|
|
Closes a socket. |
|
|
Creates a UDP socket. |
|
|
Tests if a socket is valid. |
|
|
Receives a UDP telegram. |
|
|
Receives a byte array through UDP. |
|
|
Receives the contents of a variable from another controller through UDP. |
|
|
Sends a UDP telegram. |
|
|
Sends a byte array through UDP. |
|
|
Sends the contents of a local variable to another controller through UDP. |
-
-
See this Wikipedia page about User Datagram Protocol.




