Function Prototypes:ttUserSocketCBParamFunc

Jump to: navigation, search

Table of Contents >> Programmer's Reference >> tfRegisterSocketCBParam


void ttUserSocketCBParamFunc (
int socketDescriptor,
void * socketUserPtr,
int eventFlags
);


Function Description

This function is defined by the user and called by Treck when one or more of the registered events occur.


Parameters

  • socketDescriptor
    The socket descriptor as given by the user in tfRegisterSocketCBParam()
  • socketUserPtr
    A user pointer that will be passed to the call back function as given by the user in tfRegisterSocketCBParam()
  • eventFlags
    One or more of the events registered by the user via tfRegisterSocketCBParam() that have occurred on the socket identified by socketDescriptor


Table of Contents >> Programmer's Reference >> tfRegisterSocketCBParam