CInternetServer::GetStatus Method  
 
INT GetStatus();

Return the current status of the server.

Parameters

None.

Return Value

An integer value that specifies the server status.

Remarks

The return value is one of the following values:

Value Description
INET_SERVER_INACTIVE The server is currently inactive.
INET_SERVER_STARTED The server has initialized and is preparing to listen for client connections.
INET_SERVER_LISTENING The server is actively listening for incoming client connections.
INET_SERVER_SUSPENDED The server has been suspended and is no longer accepting client connections.
INET_SERVER_SHUTDOWN The server has been stopped and is in the process of terminating all active client connections.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cswsock12.h
Import Library: cswskv12.lib

See Also