A socket connection
gSocketConnectionGetLocalAddress(object, .errwarn = TRUE)
gSocketConnectionGetRemoteAddress(object, .errwarn = TRUE)
gSocketConnectionFactoryLookupType(family, type, protocol.id)
gSocketConnectionFactoryRegisterType(g.type, family, type, protocol)
1 2 3 4 5 6 7 8 9 10 11 12 13
GSocketConnection is a
GIOStream for a connected socket. They
can be created either by
GSocketClient when connecting to a host,
GSocketListener when accepting a new client.
The type of the
GSocketConnection object returned from these calls
depends on the type of the underlying socket that is in use. For
instance, for a TCP/IP connection it will be a
Chosing what type of object to construct is done with the socket
connection factory, and it is possible for 3rd parties to register
custom socket connection types for specific combination of socket
A socket connection GIOStream object for connection-oriented sockets. Since 2.22
GSocketConnection for UNIX domain socket connections.
GSocket: * : Read / Write / Construct Only]
The underlying GSocket.
graceful-disconnect[logical : Read / Write]
Whether or not close does a graceful disconnect. Default value: FALSE
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.