Learn R Programming

RGtk2 (version 2.20.31)

gSocketGetLocalAddress: gSocketGetLocalAddress

Description

Try to get the local a bound socket. This is only useful if the socket has been bound to a local address, either explicitly or implicitly when connecting.

Usage

gSocketGetLocalAddress(object, .errwarn = TRUE)

Arguments

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

Value

A list containing the following elements:
retval
[GSocketAddress] a GSocketAddress or NULL on error.
error
GError for error reporting, or NULL to ignore.

Details

Since 2.22