> >clientString := IntToStr(ULong(Client)) > Won't it be much faster to use TList with custom Compare method > which would compare Client pointers as integers? String comparison > is a waste.
Exactly, strings are totally unnecessary, ICS already uses sorted TLists in OverbyteIcsFtpSrvT for directory listings. I also have a small class TFindList which adds binary search Find and AddSorted methods to TList, it's used in my high level FTP components. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be