void xtd::net::sockets::udp_client::join_multicast_group | ( | const xtd::net::ip_address & | multicast_address, |
const xtd::net::ip_address & | local_address | ||
) |
Adds a xtd::net::sockets::udp_client to a multicast group.
multicast_address | The multicast xtd::net::ip_address of the group you want to join. |
local_address | The local xtd::net::ip_address. |
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. |