DWC_ProcessInet

Syntax

#include <dwc.h> 
void DWC_ProcessInet(void);

Arguments

None.

Return Values

None.

Description

Carries out automatic connection processing. Be sure to call this function frequently (about once per game frame) after DWC_ConnectInetAsync has been called.

To process errors that occur during the autoconnect process, first call this function and then get the error status using the DWC_GetLastErrorEx function. If necessary, display the error code in addition to the error message.

The DWC_GetLastErrorEx function can be called any time after the DWC_CheckInet function returns TRUE. (In other words, it does not need to be called every frame.) However, note that the DWC_CheckInet function never returns TRUE in cases where processing by a DWC_CleanupInet* function is halted before DWC_CheckInet returns TRUE.

Also, do not call this function while polling for the termination of the automatic connection process by the DWC_CleanupInetAsync function.

See the Nintendo Wi-Fi Connection Programming Guidelines for more information on error messages.

Get the connection status with the DWC_CheckInet or DWC_GetInetStatus function.

See Also

DWC_ConnectInetAsync DWC_CheckInet DWC_GetInetStatus DWC_CleanupInet

Revision History

5.1
Changed "while connected..." to "during the autoconnect process..."

For the change log prior to 5.1 PR2, click here.   


CONFIDENTIAL