void xtd::net::sockets::udp_client::join_multicast_group | ( | const xtd::net::ip_address & | multicast_address, |
xtd::byte | ttl | ||
) |
Adds a xtd::net::sockets::udp_client to a multicast group with the specified Time to Live (TTL).
multicast_address | The multicast xtd::net::ip_address of the group you want to join. |
ttl | The Time to Live (TTL), measured in router hops. |
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. |