Sets a value that specifies the Time To Live (TTL) value of Internet Protocol (IP) packets sent by the xtd::net::sockets::socket.
value | The TTL value. |
xtd::net::sockets::socket_exception | This option is valid for a datagram socket only. |
xtd::object_closed_exception | The xtd::net::sockets::socket has been closed. |
xtd::not_supported_exception | he xtd::net::sockets::socket is not in the xtd::net::sockets::address_family::inter_network or xtd::net::sockets::address_family::inter_network_v6 families. |