configureMulticast
R2026bSet multicast properties for communication with UDP socket
Syntax
Description
configureMulticast(
subscribes the UDP socket u,address)u to the multicast group address
address. This syntax sets the MulticastGroup
property to address, the EnableMulticastLoopback
property to true (the default), and the
EnableMulticast property to true.
This function is supported on Windows® for IPv4 and IPv6. It is supported on macOS and Linux® only for IPv4.
configureMulticast(
subscribes the UDP socket to the specified address, while the
u,address,loopbackEnable)loopbackEnable property controls whether loopback is enabled. This
syntax sets the EnableMulticastLoopback accordingly.