Before executing the Connect method, you must first set
property, or provide hostname information to Host
The following sample will manually connect to
WeOnlyDo's WEB server (code in VB):
wodHttp1.Blocking = True
wodHttp1.Hostname = "http://www.weonlydo.com"
wodHttp1.Port = 80
If wodHttp1.LastError <> 0
MsgBox "Unsuccessful -
Error:" & wodHttp1.LastError
Please note that if a proxy is used to connect to a server
and the connection fails for some reason, the possible
cause is a rejected request by the proxy, or other proxy
There is no need to explicitly call Connect method,
other methods will do this for you.
NOTE: If host cannot be found (invalid hostname specified), or
wodHttpDLX fails to connect to it,
event will be fired -
Done will NOT be
fired since actual HTTP protocol was not yet performed.