DWC_UpdateConnection

C Specification

#include <dwc.h>

BOOL DWC_UpdateConnection( void );

Description

This function checks to see if the connection to an access point is being maintained normally.
After the connection to the Internet has been established, be sure to call this function approximately every game frame. However, there is no need to call this function when using the FriendsMatch Library, since the same sort of processing is performed by the DWC_ProcessFriendsMatch function.

If the connection to the access point is lost, TRUE is returned. Be sure to get the error state with DWC_GetLastErrorEx. Display the error code along with the error message, as necessary. To see about creating error messages, refer to the Nintendo Wi-Fi Connection Programming Guidelines.

Arguments

None.

Return Values

TRUE Disconnected from the access point.
FALSE The connection to the access point continues to exist..

See Also

DWC_GetLastErrorEx, DWC_ProcessFriendsMatch

Revision History

07/24/2006 Added a description about the relationship to the FriendsMatch Library
06/27/2006 Initial version


CONFIDENTIAL