libguac  0.7.0
Data Fields
guac_socket Struct Reference

The core I/O object of Guacamole. More...

Data Fields

void * data
 Arbitrary socket-specific data.
guac_socket_read_handler * read_handler
 Handler which will be called when data needs to be read from the socket.
guac_socket_write_handler * write_handler
 Handler which will be called whenever data is written to this socket.
guac_socket_select_handler * select_handler
 Handler which will be called whenever guac_socket_select is invoked on this socket.
guac_socket_free_handler * free_handler
 Handler which will be called when the socket is free'd (closed).

Detailed Description

The core I/O object of Guacamole.

guac_socket provides buffered input and output as well as convenience methods for efficiently writing base64 data.


Field Documentation

Handler which will be called whenever data is written to this socket.

Note that because guac_socket automatically buffers written data, this handler might only get called when the socket is flushed.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines