Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GSocketConnection

GSocketConnection


Description

A socket connection

Methods and Functions

Hierarchy

GObject
   +----GIOStream
         +----GSocketConnection
               +----GTcpConnection
               +----GUnixConnection
GObject
   +----GIOStream
         +----GSocketConnection
               +----GTcpConnection
GObject
   +----GIOStream
         +----GSocketConnection
               +----GUnixConnection

Detailed Description

GSocketConnection is a GIOStream for a connected socket. They can be created either by GSocketClient when connecting to a host, or by 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 GTcpConnection.

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 family/type/protocol using gSocketConnectionFactoryRegisterType.

Structures

GSocketConnection

A socket connection GIOStream object for connection-oriented sockets. Since 2.22

GTcpConnection

A GSocketConnection for UNIX domain socket connections. Since 2.22

Properties

socket [GSocket : * : Read / Write / Construct Only]

The underlying GSocket.

graceful-disconnect [logical : Read / Write]

Whether or not close does a graceful disconnect. Default value: FALSE

Author(s)

Derived by RGtkGen from GTK+ documentation

References


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.