gInetAddressNewFromBytes {RGtk2} | R Documentation

## gInetAddressNewFromBytes

### Description

Creates a new `GInetAddress` from the given `family` and `bytes`. `bytes` should be 4 bytes for `G_INET_ADDRESS_IPV4` and 16 bytes for `G_INET_ADDRESS_IPV6`.

### Usage

    gInetAddressNewFromBytes(bytes, family)

### Arguments

``bytes`` | raw address data
``family`` | the address family of `bytes`

### Details

Since 2.22

### Value

[`GInetAddress`] a new `GInetAddress` corresponding to `family` and `bytes`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]