gSocketGetLocalAddress {RGtk2}R Documentation

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

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

[GSocketAddress] a GSocketAddress or NULL on error.

error

GError for error reporting, or NULL to ignore.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]