gSocketCheckConnectResult {RGtk2} | R Documentation

## gSocketCheckConnectResult

### Description

Checks and resets the pending connect error for the socket. This is used to check for errors when `gSocketConnect` is used in non-blocking mode.

### Usage

    gSocketCheckConnectResult(object, .errwarn = TRUE)

### Arguments

``object`` | a `GSocket`
`.errwarn` | Whether to issue a warning on error or fail silently

### Details

Since 2.22

### Value

A list containing the following elements:

`retval` | [logical] `TRUE` if no error, `FALSE` otherwise, setting `error` to the error
``error`` | `GError` for error reporting, or `NULL` to ignore.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]