socket & xtd::net::sockets::socket::dont_fragment | ( | bool | value | ) |
Sets a value that specifies whether the xtd::net::sockets::socket allows Internet Protocol (IP) datagrams to be fragmented.
value | true if the xtd::net::sockets::socket doesn't allow datagram fragmentation; otherwise, false. The default is true. |
xtd::not_supported_exception | The socket is not in the xtd::net::sockets::address_family::inter_network family. |
xtd::net::sockets::socket_exception | An error occurred when attempting to access the socket. |
xtd::object_closed_exception | The xtd::net::sockets::socket has been closed. |