Gio.NativeSocketAddress

g GObject.GInterface GObject.GInterface Gio.SocketConnectable Gio.SocketConnectable GObject.GInterface->Gio.SocketConnectable GObject.Object GObject.Object Gio.SocketAddress Gio.SocketAddress GObject.Object->Gio.SocketAddress Gio.NativeSocketAddress Gio.NativeSocketAddress Gio.SocketAddress->Gio.NativeSocketAddress Gio.SocketConnectable->Gio.SocketAddress

Subclasses:None

Properties

Inherited:Gio.SocketAddress (1)

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance Gio.SocketAddress r  

Class Details

class Gio.NativeSocketAddress(**kwargs)
Bases:Gio.SocketAddress
Abstract:No
Structure:Gio.NativeSocketAddressClass

A socket address of some unknown native type.

classmethod new(native, len)[source]
Parameters:
  • native (object or None) – a native address object
  • len (int) – the length of native, in bytes
Returns:

a new Gio.NativeSocketAddress

Return type:

Gio.SocketAddress

Creates a new Gio.NativeSocketAddress for native and len.

New in version 2.46.