InetAddress

constructor(family: SocketFamily)

Creates a #GInetAddress for the "any" address (unassigned/"don't care") for @family.

Return

a new #GInetAddress corresponding to the "any" address for @family. Free the returned object with g_object_unref().

Since

2.22

Parameters

family

the address family


constructor(string: String)

Parses @string as an IP address and creates a new #GInetAddress.

Return

a new #GInetAddress corresponding to @string, or null if @string could not be parsed. Free the returned object with g_object_unref().

Since

2.22

Parameters

string

a string representation of an IP address


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)