tfRecvInterface
Table of Contents >> Programmer's Reference
| #include <trsocket.h> |
| int tfRecvInterface | (ttUserInterface interfaceHandle); |
Function Description
This function is used to start processing of an incoming packet from the device driver. It first calls the driver's receive routine and then begins processing of the packet. The packet is processed in the context of the caller of this function.
Parameters
- interfaceHandle
- The interface handle of the device to receive data from as returned by tfAddInterface().
Returns
- TM_ENOERROR
- Success.
- TM_ENOBUFS
- Insufficient memory to complete the operation.
- TM_ENXIO
- The device/interface was not opened or configured.
- TM_DEV_ERROR
- Device error.