connect_sync
Description:
Attempt to synchronously connect this to its remote address.
If cancellable
is non-%NULL, it can be used to cancel the connection, in which case connect_sync will
return CANCELLED.
Parameters:
this |
a client Socket (which must not already be connected) |
cancellable |
a Cancellable, or |
Returns:
a success or failure code. |