You can set the timeout via the nConnectTimeout property, rather than calling WinInetSetTimeout() property.
LOCAL oHttp as wwHttp oHttp = Create('wwHttp') oHttp.nConnectTimeout = 10 oHttp.nHTTPConnectType=1 && 3 oHttp.nhttppostmode=1
The problem is that most of WinInet settings are applied after connection, and the various API calls are initialized only after the Connect method is fired. In fact calling the method before there is a connect handle has no effect so this wouldn't work anyway.
The method originates from older days (and is now used internally) when we used HttpGetEx() with explicit HttpConnect() calls. HttpGet() does all this internally and nConnectTimeout calls WinInetSetTimeout() internally.
Hope this helps,
+++ Rick ---