Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Enums and Flags Properties Author(s) References
Abstract base class representing endpoints for socket communication
gSocketAddressNewFromNative(native, len)
gSocketAddressGetFamily(object)
gSocketAddressToNative(object, dest, destlen, .errwarn = TRUE)
gSocketAddressGetNativeSize(object)
1 2 3 4 5 6 | GObject
+----GSocketAddress
+----GInetSocketAddress
+----GUnixSocketAddress
GEnum
+----GSocketFamily
|
GSocketAddress implements
GSocketConnectable.
GSocketAddress is the equivalent of structsockaddr
in the BSD sockets API. This is an abstract class; use
GInetSocketAddress for internet sockets, or GUnixSocketAddress
for UNIX domain sockets.
GSocketAddressA socket endpoint address, corresponding to structsockaddr
or one of its subtypes.
GSocketFamilyThe protocol family of a GSocketAddress. (These values are
identical to the system defines AF_INET, AF_INET6 and AF_UNIX,
if available.)
Since 2.22
invalidno address family
unixthe UNIX domain family
ipv4the IPv4 family
ipv6the IPv6 family
family [GSocketFamily : Read]The family of the socket address. Default value: G_SOCKET_FAMILY_INVALID
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gio/stable/GSocketAddress.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.