Attempt to synchronously connect @sock to its remote address.
If @cancellable is non-%NULL, it can be used to cancel the connection, in which case soup_socket_connect_sync() will return %SOUP_STATUS_CANCELLED.
a #GCancellable, or %NULL
a success or failure code.
See Implementation
Attempt to synchronously connect @sock to its remote address.
If @cancellable is non-%NULL, it can be used to cancel the connection, in which case soup_socket_connect_sync() will return %SOUP_STATUS_CANCELLED.