gSocketGetRemoteAddress {RGtk2} | R Documentation

## gSocketGetRemoteAddress

### Description

Try to get the remove a connected socket. This is only useful for connection oriented sockets that have been connected.

### Usage

    gSocketGetRemoteAddress(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.36.3 Index]