InetAddressMask.this

Parses mask_string as an IP address and (optional) length, and creates a new gio.InetAddressMask The length, if present, is delimited by a "/". If it is not present, then the length is assumed to be the full length of the address.

Parameters

maskString string

an IP address or address/length string

Return Value

a new gio.InetAddressMask corresponding to string, or NULL on error.

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.32