Sets a value that specifies the amount of time after which a synchronous xtd::net::sockets::socket::send call will time out.
value | The time-out value, in milliseconds. If you set the property with a value between 1 and 499, the value will be changed to 500. The default value is 0, which indicates an infinite time-out period. Specifying -1 also indicates an infinite time-out period. |
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::argument_out_of_range_exception | The value specified for a set operation is less than -1. |