#include <dwc.h>
BOOL DWC_UpdateConnection(void);None.
TRUE |
Disconnected from the access point. |
FALSE |
Connection to the access point is still maintained. |
Checks whether a 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, if you are using the FriendsMatch library, equivalent processing is performed by the DWC_ProcessFriendsMatch function and you do not have to call this function.
If the local host is disconnected from the access point, this function returns TRUE. Be sure to get the error state with the DWC_GetLastErrorEx function and display the error code along with the error message as necessary. See the Nintendo Wi-Fi Connection Programming Guidelines for more information on error messages.
DWC_GetLastErrorEx
DWC_ProcessFriendsMatch
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL