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 Value

a new #GInetAddress corresponding to @family and @bytes. Free the returned object with g_object_unref().

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22