InetSocketAddress
Object Hierarchy:
Description:
[
CCode ( type_id =
"g_inet_socket_address_get_type ()" ) ]
public class InetSocketAddress :
SocketAddress,
SocketConnectable
An IPv4 or IPv6 socket address.
That is, the combination of a [class@Gio.InetAddress] and a port number.
In UNIX terms, `GInetSocketAddress` corresponds to a [`struct sockaddr_in` or `struct sockaddr_in6`](man:sockaddr(3type)).
Content:
Properties:
- public InetAddress address { get; construct; }
The address.
- public uint flowinfo { get; construct; }
The `sin6_flowinfo` field, for IPv6 addresses.
- public uint port { get; construct; }
The port.
- public uint scope_id { get; construct; }
The `sin6_scope_id` field, for IPv6 addresses.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.SocketAddress
All known members inherited from class GLib.Object
All known members inherited from interface GLib.SocketConnectable