void xtd::net::sockets::udp_client::drop_multicast_group | ( | const xtd::net::ip_address & | multicast_address, |
uint32 | if_index | ||
) |
Leaves a multicast group.
multicast_address | The xtd::net::ip_address of the multicast group to leave. |
if_index | The local address of the multicast group to leave. |
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. |