Function Prototypes:ttUserSocketCBPacketFunc
Table of Contents >> Programmer's Reference >> tfRegisterSocketPacketCB
| void ttUserSocketCBPacketFunc | ( |
| int socketDescriptor, | |
| ttUserPacketPtr packetUserPtr, | |
| int flags | |
| ); |
Function Description
This function is defined by the user and called once for every valid incoming packet for the particular TCP streaming socket that was specified when this callback function was registered with tfRegisterSocketPacketCB().Your device driver can provide additional parameters to this callback function via packetUserPtr->pktuUserParam, if you have defined TM_USE_USER_PARAM in your <trsystem.h>.
Parameters
- socketDescriptor
- The socket descriptor as given by the user in tfRegisterSocketPacketCB().
- packetUserPtr
- Pointer to incoming packet that is destined for the socket.
- flags
- Not currently used.
Table of Contents >> Programmer's Reference >> tfRegisterSocketPacketCB