Sorry, I have been overworking... Yes in the constructor.
Regards, SZ ----- Original Message ----- From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Monday, July 09, 2007 8:46 PM Subject: Re: [twsocket] Bug fix for HttpProt.pas > 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 -- 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