DTS Application Library  0.2.3
Application library containing referenced objects and interfaces to common libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
socket_handler Struct Reference

Socket handling thread data. More...

Data Fields

struct fwsocketsock
 Socket this thread manages. More...
 
void * data
 Reference to data passed in callbacks. More...
 
socketrecv client
 Callback called when the socket is ready to read. More...
 
threadcleanup cleanup
 Callback to call when the thread closes to allow additional cleanup. More...
 
socketrecv connect
 If a client connects to a bound port this callback is called on connect. More...
 

Detailed Description

Socket handling thread data.

Definition at line 51 of file socket.c.

Field Documentation

threadcleanup socket_handler::cleanup

Callback to call when the thread closes to allow additional cleanup.

Definition at line 60 of file socket.c.

socketrecv socket_handler::client

Callback called when the socket is ready to read.

Definition at line 57 of file socket.c.

socketrecv socket_handler::connect

If a client connects to a bound port this callback is called on connect.

Definition at line 63 of file socket.c.

void* socket_handler::data

Reference to data passed in callbacks.

Definition at line 55 of file socket.c.

struct fwsocket* socket_handler::sock

Socket this thread manages.

Definition at line 53 of file socket.c.


The documentation for this struct was generated from the following file: