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.
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.
a GTimeVal timeout
OK when a connection could be made.