IPAddress


Description:

[ CCode ( has_construct_function = false ) ]
public IPAddress (int family, string addr, uint prefix) throws Error

Creates a new IPAddress object.

Parameters:

family

the IP address family (<literal>AF_INET</literal> or <literal>AF_INET6</literal>)

addr

the IP address

prefix

the address prefix length

Returns:

the new IPAddress object, or null on error