Function Prototypes:ttHttpcUserEventHandler
Table of Contents >> Programmer's Reference >> tfHttpcUserOpen
| void ttHttpcUserEventHandler | ( |
| ttHttpcUserConHandle conHandle, | |
| int event | |
| ); |
Function Description
Function type for user event handler. User should provide a function of this type to tfHttpcUserOpen(). When an event happens on the connection, this function will be called.
Parameters
- conHandle
- HTTP client connection handle
- event
- Event type, one of the following:
- TM_HTTPC_EVENT_FAILED_TO_CONNECT
- TM_HTTPC_EVENT_CONNECTED
- TM_HTTPC_EVENT_SEND_READY
- TM_HTTPC_EVENT_RECV_READY
Table of Contents >> Programmer's Reference >> tfHttpcUserOpen