This function disconnects from the HTTP(S) server.
[C++Builder] BOOL
IKHTTPDisconnect(HINTERNET hOpen, HINTERNET hConnect);
[Delphi] function
IKHTTPDisconnect(hOpen, hConnect: HINTERNET): LongBool;
Parameters
Name | Explanation |
---|---|
hOpen | The open handle retrieved from the IKHTTPConnect function |
hConnect | The session handle retrieved from the IKHTTPConnect function |
Return Value
Returns True (nonzero) if successful. Returns False (0) if unsuccessful.
Explanation
The IKHTTPDisconnect function disconnects from the HTTP(S) server. This function can only be executed from the client computer. It does not operate on the server. This function disconnects the server that was connected by the IKHTTPConnect function.