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

GSocketControlMessage

GSocketControlMessage


Description

A GSocket control message

Methods and Functions

Hierarchy

GObject
   +----GSocketControlMessage
         +----GUnixFDMessage

Detailed Description

A GSocketControlMessage is a special-purpose utility message that can be sent to or received from a GSocket. These types of messages are often called "ancillary data".

The message can represent some sort of special instruction to or information from the socket or can represent a special kind of transfer to the peer (for example, sending a file description over a UNIX socket).

These messages are sent with gSocketSendMessage and received with gSocketReceiveMessage.

To extend the set of control message that can be sent, subclass this class and override the get_size, get_level, get_type and serialize methods.

To extend the set of control messages that can be received, subclass this class and implement the deserialize method. Also, make sure your class is registered with the GType typesystem before calling gSocketReceiveMessage to read such a message.

Structures

GSocketControlMessage

Base class for socket-type specific control messages that can be sent and received over GSocket.

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.