RGtk2 (version 2.20.31)

gSocketGetRemoteAddress: 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
.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