L_InetHttpGetResponse
#include "ltweb.h"
<L_LTWEB_API L_INT L_InetHttpGetResponse(hHttp, pszData, ulSize)
HINET hHttp; |
/* handle to an HTTP connection*/ |
L_CHAR *pszData; |
/* pointer to response information */ |
L_UINT32 *ulSize; |
/* address a variable to be updated*/ |
Retrieves the response from an Internet server.
Parameter |
Description |
hHttp |
Handle to the HTTP connection. It is the same handle obtained using the L_InetHttpConnect function. |
pszData |
Address of the variable to be updated with the last response information from the server. Pass NULL to this parameter to update ulSize with the sizeof of buffer needed. |
ulSize |
Size of pszData. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The response information should be read after submitting a request to an HTTP server.
Required DLLs and Libraries
LTWEB For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
|
Topics: |
|
|
Example
For an example, refer to L_InetHttpConnect.