#include <dwc.h>
BOOL DWC_SetUserRecvTimeoutCallback(DWCUserRecvTimeoutCallback callback,
void *param);callback |
Pointer to the receive timeout callback function. |
param |
Parameter for the receive timeout callback. |
TRUE |
Configuration of the callback function was successful. |
FALSE |
The configuration failed because the FriendsMatch library was not running. |
Sets the receive timeout callback function to call when data is not received from a particular host within a fixed time limit after matchmaking completes.
This timeout can be set separately for each individual AID using the DWC_SetRecvTimeoutTime function.
DWCUserRecvTimeoutCallback is called only to send notification that no data was received during the time period specified using DWC_SetRecvTimeoutTime. Be sure to use DWC_SetConnectionKeepAliveTime when you want to set a timeout for automatically disconnecting another party that has not connected for a set period of time.
The DWCUserRecvTimeoutCallback function cannot be called if the disconnect process is executed first because the time set by DWC_SetRecvTimeoutTime is longer than the time set by DWC_SetConnectionKeepAliveTime.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL