Gio.InetSocketAddress

const Gio = imports.gi.Gio;

let inetSocketAddress = new Gio.InetSocketAddress({
    address: value,
    flowinfo: value,
    port: value,
    scope_id: value,
});
  

An IPv4 or IPv6 socket address; that is, the combination of a Gio.InetAddress and a port number.

Hierarchy

  • GObject.Object
    • Gio.SocketAddress
      • Gio.InetSocketAddress