Constructor
GioInetAddressnew_from_bytes_with_ipv6_info
since: 2.86
Declaration [src]
GInetAddress*
g_inet_address_new_from_bytes_with_ipv6_info (
const guint8* bytes,
GSocketFamily family,
guint32 flowinfo,
guint32 scope_id
)
Description [src]
Creates a new GInetAddress from the given family, bytes
and scope_id.
bytes must be 4 bytes for G_SOCKET_FAMILY_IPV4 and 16 bytes for
G_SOCKET_FAMILY_IPV6.
Available since: 2.86
Parameters
bytes-
Type: An array of
guint8Raw address data.
The data is owned by the caller of the function. family-
Type:
GSocketFamilyThe address family of
bytes. flowinfo-
Type:
guint32No description available.
scope_id-
Type:
guint32The scope-id of the address.
Return value
Type: GInetAddress
A new internet address corresponding to
family, bytes and scope_id.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |