NativeSocketAddress

Added in version 2.46.

class NativeSocketAddress(**properties: Any)

Superclasses: SocketAddress, Object

Implemented Interfaces: SocketConnectable

A socket address of some unknown native type.

This corresponds to a general struct sockaddr of a type not otherwise handled by GLib.

Constructors

class NativeSocketAddress
classmethod new(native: None, len: int) SocketAddress

Creates a new GNativeSocketAddress for native and len.

Added in version 2.46.

Parameters:
  • native – a native address object

  • len – the length of native, in bytes

Fields

class NativeSocketAddress
parent_instance
priv