Constructor

GioInetAddressnew_any

Declaration

GInetAddress*
g_inet_address_new_any (
  GSocketFamily family
)

Description

Creates a GInetAddress for the “any” address (unassigned/”don’t care”) for family.

Available since:2.22

Parameters

family GSocketFamily
 

The address family.

Return value

Returns: GInetAddress
 

A new GInetAddress corresponding to the “any” address for family. Free the returned object with g_object_unref().

 The caller of the function takes ownership of the data, and is responsible for freeing it.