Arno Garrels a écrit :
> Or we change TCustomSocksWSocket.SetSocksLevel?
>
> procedure TCustomSocksWSocket.SetSocksLevel(newValue : String);
> begin
> if State <> wsClosed then begin
> RaiseException('Can''t change socks level if not closed');
> Exit;
> end;
> if newValue = '' then <==
> newValue := '5'; <==
> ....
>
i think, to provide backward compatibility (such as what i've found in my
application), this should be used.
Beside, it adds, IMHO, a security level in case one would forget to initialize
the data...
--
Guillaume MAISON - [EMAIL PROTECTED]
83, Cours Victor Hugo
47000 AGEN
Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com
--
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