GSocketAddress {RGtk2} | R Documentation |
Abstract base class representing endpoints for socket communication
gSocketAddressNewFromNative(native, len)
gSocketAddressGetFamily(object)
gSocketAddressToNative(object, dest, destlen, .errwarn = TRUE)
gSocketAddressGetNativeSize(object)
GObject +----GSocketAddress +----GInetSocketAddress +----GUnixSocketAddress GEnum +----GSocketFamily
GSocketAddress implements
GSocketConnectable
.
GSocketAddress
is the equivalent of
structsockaddrin the BSD sockets API. This is an abstract class; use
GInetSocketAddress
for internet sockets, or GUnixSocketAddressfor UNIX domain sockets.
GSocketAddress
A socket endpoint address, corresponding to
structsockaddror one of its subtypes.
GSocketFamily
The 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
invalid
no address family
unix
the UNIX domain family
ipv4
the IPv4 family
ipv6
the IPv6 family
family[
GSocketFamily
: Read]The family of the socket address. Default value: G_SOCKET_FAMILY_INVALID
Derived by RGtkGen from GTK+ documentation
http://library.gnome.org/devel//gio/GSocketAddress.html