connect


Description:

[ Version ( deprecated = true , deprecated_since = "1.18" ) ]
public Result connect (TimeVal timeout)

Warning: connect is deprecated since 1.18.

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

If timeout is null 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 GTimeVal timeout

Returns:

OK when a connection could be made.




2022 vala-language.org