RGtk2 (version 2.20.31)

gInetAddressNewFromBytes: gInetAddressNewFromBytes

Description

Creates a new GInetAddress from the given family and bytes. bytes should be 4 bytes for G_INET_ADDRESS_IPV4 and 16 bytes for G_INET_ADDRESS_IPV6.

Usage

gInetAddressNewFromBytes(bytes, family)

Arguments

bytes
raw address data
family
the address family of bytes

Value

GInetAddress] a new GInetAddress corresponding to family and bytes.

Details

Since 2.22