gSocketConditionCheck {RGtk2} | R Documentation

## 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`` | a `GSocket`
``condition`` | a `GIOCondition` mask to check

### 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

### Value

[`GIOCondition`] the `GIOCondition` mask of the current state

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]