pub fn set_socket_receive_timeout(socket: CSocket, t: Duration) -> Result<()>
Expand description

Set a timeout for receiving from the socket.