bool Connect(bool bSecure,unsigned short iPort)
Return values
Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.
Parameters
Remarks
The function connects to a HTTP server with the supplied parameters. This function must be called before any other function in this class is called.