void xtd::net::sockets::udp_client::join_multicast_group | ( | uint32 | if_index, |
const xtd::net::ip_address & | multicast_address | ||
) |
Adds a xtd::net::sockets::udp_client to a multicast group.
if_index | The interface index associated with the local IP address on which to join the multicast group. |
multicast_address | The multicast xtd::net::ip_address of the group you want to join. |
argument_exception | The IP address is not compatible with the xtd::net::sockets::address_family value that defines the addressing scheme of the socket. |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the underlying socket. |
xtd::object_closed_exception | The underlying xtd::net::sockets::socket has been closed. |