connect_usec


Description:

[ Version ( since = "1.18" ) ]
public Result connect_usec (int64 timeout)

Attempt to connect to the url of this made with connection_create.

If timeout is 0 this function can block forever. If timeout contains a valid timeout, this function will return ETIMEOUT after the timeout expired.

This function can be cancelled with flush.

Parameters:

this

a Connection

timeout

a timeout in microseconds

Returns:

OK when a connection could be made.