tfXmitInterface

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


int tfXmitInterface (ttUserInterface interfaceHandle);


Function Description

tfXmitInterface() is used to call the device driver send function with the next packet ready to be transmitted in the device/interface send queue. The packet is sent in the context of the caller of this function.


Parameters

  • interfaceHandle
    The interface handle of the device to which to send the data.


Returns

  • TM_ENOERROR
    Success.
  • TM_ENOENT
    No packet was ready to be transmitted.
  • TM_ENXIO
    The device/interface was not opened or configured.
  • TM_EIO
    The device driver send function returned an error. The Treck stack free'd the packet since the device driver send failed.


Table of Contents >> Programmer's Reference