:right-sidebar: True NativeSocketAddress =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.46 .. class:: NativeSocketAddress(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gio.SocketAddress`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gio.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 ------------ .. rst-class:: interim-class .. class:: NativeSocketAddress :no-index: .. classmethod:: new(native: ~typing.Any, len: int) -> ~gi.repository.Gio.SocketAddress Creates a new ``GNativeSocketAddress`` for ``native`` and ``len``\. .. versionadded:: 2.46 :param native: a native address object :param len: the length of ``native``\, in bytes Fields ------ .. rst-class:: interim-class .. class:: NativeSocketAddress :no-index: .. attribute:: parent_instance .. attribute:: priv