NativeSocketAddress#
Added in version 2.46.
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: Any, len: int) SocketAddress#
Creates a new
GNativeSocketAddressfornativeandlen.Added in version 2.46.
- Parameters:
native – a native address object
len – the length of
native, in bytes