RGtk2 (version 2.20.31)

gSocketAddressNewFromNative: gSocketAddressNewFromNative

Description

Creates a GSocketAddress subclass corresponding to the native structsockaddr native.

Usage

gSocketAddressNewFromNative(native, len)

Arguments

native
a pointer to a structsockaddr
len
the size of the memory location pointed to by native

Value

GSocketAddress] a new GSocketAddress if native could successfully be converted, otherwise NULL.

Details

Since 2.22