Fastream Technologies wrote:

> Since there is no
> SocksLevel := 5;
> SetSocksLevel raises an exception in OnDNSLookupdone.

Nobody except you does understand this 'fix', where should
users assign SocksLevel if they ever miss that on the 
application level? 

I think the constructor is a good place to set the default
value from TWSocket, isn't it?

constructor THttpCli.Create(Aowner:TComponent);
begin
    ..
    CreateSocket;
    ..
    FSocksLevel := FCtrlSocket.SocksLevel;
    ..

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to