RGtk2 (version 2.20.31)

gSocketCheckConnectResult: 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
.errwarn
Whether to issue a warning on error or fail silently

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.

Details

Since 2.22