InetAddress.this

Creates a new #GInetAddress from the given @family and @bytes. @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for %G_SOCKET_FAMILY_IPV6.

Parameters

bytes ubyte[]

raw address data

family GSocketFamily

the address family of @bytes

Return: a new #GInetAddress corresponding to @family and @bytes.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22