tfSendCompleteInterface

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


void tfSendCompleteInterface (
ttUserInterface interfaceHandle,
int flag
);


Function Description

This function is used to notify the stack that send has been completed and allow the stack to free the outgoing buffers. If the device driver copies the packet before attempting the send, it is permissible to call this routine from the context of the send, otherwise, it must only be called after the device had actually sent the packet.


Parameters

  • interfaceHandle
    The interface handle of the device to process the send complete.
  • flag
    Indicates from where tfSendCompleteInterface() is called. See below.


Flags

  • TM_DEV_SEND_COMPLETE_DRIVER
    tfSendCompleteInterface() is being called from the device driver.
  • TM_DEV_SEND_COMPLETE_APP
    tfSendCompleteInterface() is being called from a send task or from the main loop.


Table of Contents >> Programmer's Reference