DWC_GetInetStatus

C Specification

#include <dwc.h>

DWCInetResult DWC_GetInetStatus( void );

Description

This function checks the internet connection status.

If an error has occurred, get the error status using the DWC_GetLastErrorEx function; if necessary, display an error code along with an error message. See the programming guidelines for more information on error messages.

Arguments

None.

Return Values

DWC_CONNECTINET_STATE_NOT_INITIALIZED Not initialized.
DWC_CONNECTINET_STATE_IDLE The connection has not started.
DWC_CONNECTINET_STATE_OPERATING Currently processing.
DWC_CONNECTINET_STATE_OPERATED Processing completed.
DWC_CONNECTINET_STATE_CONNECTED Connected to the Internet.
DWC_CONNECTINET_STATE_DISCONNECTING Disconnecting from the Internet.
DWC_CONNECTINET_STATE_DISCONNECTED Disconnected from the Internet.
DWC_CONNECTINET_STATE_ERROR An error occurred.
DWC_CONNECTINET_STATE_FATAL_ERROR A fatal error occurred.

See Also

DWC_CheckInet, DWC_SetAuthServer, DWC_ConnectInetAsync, DWC_CheckInet, DWC_ProcessInet, DWC_CleanupInet

Revision History

2006/02/24 Change name of referenced document.
2005/12/16 Revisions.
2005/10/26 Revisions.
2005/07/22 Initial version.


CONFIDENTIAL