set_timeout


Description:

[ Version ( since = "2.26" ) ]
public void set_timeout (uint timeout)

Sets the I/O timeout for sockets created by this.

timeout is a time in seconds, or 0 for no timeout (the default).

The timeout value affects the initial connection attempt as well, so setting this may cause calls to connect, etc, to fail with g_io_error_timed_out .

Parameters:

this

a SocketClient.

timeout

the timeout