DWC_ConnectInetAsync

C Specification

#include <dwc.h>

void DWC_ConnectInetAsync( void );

Description

This function initiates an automatic connection process to the Internet. The automatic connection process checks whether an access point is nearby, selects an appropriate one, and automatically connects. An access point is either a normal access point or USB access point at home or other locations that is set by a setting utility, or a store access point.

After calling this function, to perform the automatic connect process, call the DWC_ProcessInet function every game frame.

To process errors that occur while connected, after calling the DWC_ProcessInet function, obtain the error status using the DWC_GetLastErrorEx function. If necessary, display an error code along with an error message. For creating this error messages, refer to the Nintendo Wi-Fi Connection Programming Guideline.

You can obtain connection status with the DWC_CheckInet or DWC_GetInetStatus function.

Arguments

None.

Return Values

None.

See Also

DWC_CheckInet, DWC_SetAuthServer, DWC_CheckInet, DWC_ProcessInet, DWC_GetInetStatus, DWC_CleanupInet

Revision History

02/24/2006 Changed name of referenced document
12/16/2005 Added explanations specific to auto-connection process
10/26/2005 Revisions
07/22/2005 Initial version