DWC_ConnectInetAsync

Syntax

#include <dwc.h>

void DWC_ConnectInetAsync( void );

Description

This function initiates an automatic connection process to the Internet. The automatic connection process checks for nearby access points, selects the appropriate one and connects to it automatically. An access point is either normal or USB, at home or another location that is set by a setting utility, or an access point inside a retail store.

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 message, refer to the Nintendo Wi-Fi Connection Programming Guidelines.

You can obtain connection status using 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

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


CONFIDENTIAL