Method

GioInetAddressget_is_site_local

since: 2.22

Declaration [src]

gboolean
g_inet_address_get_is_site_local (
  GInetAddress* address
)

Description [src]

Tests whether address is a site-local address such as 10.0.0.1 (that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall).

Available since: 2.22

Return value

Type: gboolean

TRUE if address is a site-local address.