condition
to become true on socket
. When the condition
is met, TRUE
is returned.gSocketConditionWait(object, condition, cancellable = NULL, .errwarn = TRUE)
object
GSocket
condition
GIOCondition
mask to wait forcancellable
GCancellable
, or NULL
TRUE
if the condition was met, FALSE
otherwiseerror
GError
pointer, or NULL
cancellable
is cancelled before the condition is met then FALSE
is returned and error
, if non-NULL
, is set to G_IO_ERROR_CANCELLED
.
Since 2.22