RGtk2 (version 2.20.31)

gSocketConditionCheck: gSocketConditionCheck

Description

Checks on the readiness of socket to perform operations. The operations specified in condition are checked for and masked against the currently-satisfied conditions on socket. The result is returned.

Usage

gSocketConditionCheck(object, condition)

Arguments

object
condition
a GIOCondition mask to check

Value

GIOCondition] the GIOCondition mask of the current state

Details

It is meaningless to specify G_IO_ERR or G_IO_HUP in condition; these conditions will always be set in the output if they are true. This call never blocks. Since 2.22