Gio.SocketAddress

const Gio = imports.gi.Gio;

let socketAddress = new Gio.SocketAddress({
});
  

Gio.SocketAddress is the equivalent of struct sockaddr in the BSD sockets API. This is an abstract class; use Gio.InetSocketAddress for internet sockets, or Gio.UnixSocketAddress for UNIX domain sockets.

Hierarchy

  • GObject.Object
    • Gio.SocketAddress