tfWaitXmitInterface
Table of Contents >> Programmer's Reference
| #include <trsocket.h> |
| int tfWaitXmitInterface | (ttUserInterface interfaceHandle); |
Function Description
This function is used to wait for data ready to be sent from the bottom of the Treck stack to the device driver (data queued to the interface send queue). If there is no data ready to be transmitted, then it waits. The caller should then call tfXmitInterface() when this call completes successfully.
| tfWaitXmitInterface() can only be used when there is a separate transmit task. |
Parameters
- interfaceHandle
- The interface handle for the device to which to send the data.
Returns
- TM_ENOERROR
- Success.
- TM_ENOBUFS
- Insufficient memory to complete the operation.