DWC_SetUserSendCallback

Syntax

#include <dwc.h>
BOOL DWC_SetUserSendCallback(DWCUserSendCallback callback,
                             void *param);

Arguments

callback Pointer to the send completion callback function.
param Send completion callback parameter.

Return Values

TRUE Configuration of the callback function was successful.
FALSE The configuration failed because the FriendsMatch library was not running.

Description

Configures the data send completion callback. If a send completion callback is configured by this function, the callback is called when data has been completely sent from the DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, or DWC_SendUnreliableBitmap functions. However, the concept of "send complete" being used here indicates only that data has been fully passed to a low-level send function, not that data has arrived at the other host.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL