Skip to content

Multicast UDP Messages

NetLinx can send and receive multi-cast UDP messages.

To send a multi-cast UDP message, specify a multi-cast address and port in the IP_CLIENT_OPEN function such as the following:

IP_CLIENT_OPEN (dvIPClient.Port,'239.255.255.250',1900,IP_UDP)

To receive multi-cast UDP messages, you must call the IP_MC_SERVER_OPEN function:

IP_MC_SERVER_OPEN ( dvIPServer,'239.255.255.250',1900)

The NetLinx master will join the multi-cast session and allow you to receive and transmit UDP multi-cast messages.

See Also