connect_with_response
Description:
[ Version ( deprecated = true , deprecated_since = "1.18" , since = "1.8" ) ]
public Result connect_with_response (TimeVal timeout, Message response)
public Result connect_with_response (TimeVal timeout, Message response)
Warning: connect_with_response 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. If
this is set to tunneled, response
will contain a response to the tunneling request messages.
This function can be cancelled with flush.
Parameters:
this | |
timeout |
a GTimeVal timeout |
response |
a Message |
Returns:
OK when a connection could be made. |