Zen API
|
kStatus kUdpClient_JoinMulticastGroup | ( | kUdpClient | client, |
kIpAddress | group, | ||
kIpAddress | iface | ||
) |
Joins the specified multicast group on the specified interface.
In order for multicast sockets to behave similarly across all platforms, the following practices are recommended:
Note that while some platforms support binding the receiver to the group address (e.g., Linux) other platforms do not (e.g., Windows). Accordingly, the advice given above is to bind the receiver to 'any' address, which works on all platforms. Unfortunately, this means that any unicast or broadcast datagrams that are addressed to the same port identifier may also be received by the multicast client.
client | UDP client object. |
group | Multicast group address. |
iface | Local interface address. |