Connection.setTimeout

Sets the SocketOption.RCVTIMEO of the *current* Socket socket to the specified duration.

class Connection
private
void
setTimeout
(
const SocketOption option
,
const uint dur
)

Parameters

option SocketOption

The SocketOption to set.

dur uint

The duration to assign for the option, in number of milliseconds.