gSocketCheckConnectResult: gSocketCheckConnectResult

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

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

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.