Waits for condition to become true on socket. When the condition
is met, TRUE is returned.
If cancellable is cancelled before the condition is met, or if the
socket has a timeout set and it is reached before the condition is
met, then FALSE is returned and error, if non-NULL, is set to
the appropriate value (G_IO_ERROR_CANCELLED or
G_IO_ERROR_TIMED_OUT).
Waits for condition to become true on socket. When the condition is met, TRUE is returned.
If cancellable is cancelled before the condition is met, or if the socket has a timeout set and it is reached before the condition is met, then FALSE is returned and error, if non-NULL, is set to the appropriate value (G_IO_ERROR_CANCELLED or G_IO_ERROR_TIMED_OUT).
See also Socket.conditionTimedWait.