DWC_GetGHTTPState

C Specification

#include <dwc.h>

DWCGHTTPState DWC_GetGHTTPState( int req );

Description

Gets the communication status when a GHTTP library function is used.

Specify the return values for the DWC_PostGHTTPData, DWC_GetGHTTPData, and DWC_GetGHTTPDataEx functions in req.

Arguments

req Request identifier.

Return Values

DWC_GHTTP_FALSE Communication failed.
DWC_GHTTP_HOST_LOOKUP Converting the host name to an IP address.
DWC_GHTTP_CONNECTING Waiting for socket connection to complete.
DWC_GHTTP_SECURING_SESSION Establishing a safe channel.
DWC_GHTTP_SENDING_REQUEST Sending a request.
DWC_GHTTP_POSTING Sending data (skip if not sent)
DWC_GHTTP_WAITING Wait for response.
DWC_GHTTP_RECEIVING_STATUS Receiving response status.
DWC_GHTTP_RECEIVING_HEADERS Receiving headers.
DWC_GHTTP_RECEIVING_FILE Receiving file.

See Also

DWC_PostGHTTPData, DWC_GetGHTTPData, DWC_GetGHTTPDataEx

Revision History

10/27/2005 Initial version.


CONFIDENTIAL