udp_client & xtd::net::sockets::udp_client::enable_broadcast | ( | bool | value | ) |
Sets a boolean value that specifies whether the xtd::net::sockets::udp_client may send or receive broadcast packets.
value | true if the xtd::net::sockets::udp_client allows broadcast packets; otherwise, false. The default is false. |
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. |