Re: [twsocket] (TFtpClient) Parsing list. Help, help.

2010-06-03 Thread Anton Sviridov
Hello! Here's routine from TurboPower iPRO component pack which I improved a bit { Set properties from Unix style line of directory listing } procedure TIpFtpFileInfo.UnixStyleParse(Info : TStringList); var S, A : string; i, idx : Integer; wYear, wMonth, wDay, wHour, wMin, shit: Word; fs:

Re: [twsocket] (TFtpClient) Parsing list. Help, help.

2010-06-03 Thread Eric-Lionel Rault
And it is well. I will show the result. -rwx-- 1 user group 311521 May 29 07:33 1.jpg -rwx-- 1 user group 311521 May 29 07:38 2.jpg drwx-- 1 user group 0 Jun 03 16:13 test1 I can not read the date of file ' May 29 07:33' should be '2010-05-29 07:33:00' how

[twsocket] (TFtpClient) Parsing list. Help, help.

2010-06-03 Thread newsgate
I greet, Have the problem and need the help. I several days already fight from ftp the list. FTP.HostName:='localhost'; ... FTP.Connect; FTP.Dir; And it is well. I will show the result. -rwx-- 1 user group 311521 May 29 07:33 1.jpg -rwx-- 1 user group 311521 May 29 07:38

Re: [twsocket] Reetrancy issue with OnDataAvailable once again

2010-06-03 Thread Francois PIETTE
Hi Markus, In my opinion, the only way you can insulate you communication layer from the application layer is to use a separate thread to handle all communication. This thread will - as any othe rthread - have his own message queue which will not be impacted by the rest of the application what

[twsocket] Reetrancy issue with OnDataAvailable once again

2010-06-03 Thread Markus Humm
Hello, using ICS V5 under D2007 I'm having OnDataAvailable reetrancy issues once again. (and nobody explained yet to me why the message triggering OnDataAvailable is still sticking in the queue until OnDataAvailable is fully processed) My setup is a bit complex: 1. a GUI which also is a COM clie

Re: [twsocket] IPv6 implementation details

2010-06-03 Thread Francois PIETTE
We use TStringList quicksort/binary search routine I wrote for caching--works so well that I can recommend. With many entries all TList-derrived classes are dog-slow compared with binary search trees for this purpose! Confirmed. I recently had a project with such issue. The result where extre

Re: [twsocket] IPv6 implementation details

2010-06-03 Thread Arno Garrels
Fastream Technologies wrote: >>> We use TStringList quicksort/binary search routine I wrote for >>> caching--works so well that I can recommend. >> >> With many entries all TList-derrived classes are dog-slow >> compared with binary search trees for this purpose! > > We are using Sorted=true; wh

Re: [twsocket] IPv6 implementation details

2010-06-03 Thread Fastream Technologies
On Thu, Jun 3, 2010 at 3:43 PM, Arno Garrels wrote: > > Fastream Technologies wrote: > > Hello, > > > > We use TStringList quicksort/binary search routine I wrote for > > caching--works so well that I can recommend. > > With many entries all TList-derrived classes are dog-slow > compared with bina

Re: [twsocket] IPv6 implementation details

2010-06-03 Thread Arno Garrels
Fastream Technologies wrote: > Hello, > > We use TStringList quicksort/binary search routine I wrote for > caching--works so well that I can recommend. With many entries all TList-derrived classes are dog-slow compared with binary search trees for this purpose! > > Also, has anybody tested the

[twsocket] OT: Old vs New (Was RE: Should ICS support IPv6 on W2K?)

2010-06-03 Thread Dave Baxter
Hi. There is still lots of "in-house" and some vendor support and development for 2k among the indipendants. As just swapping out the embedded PC is nowhere near as easy as it would be in an office or home environment. The lack of EISA slots and "Real" COM ports, for existing mega expensive hard

Re: [twsocket] IPv6 implementation details

2010-06-03 Thread Fastream Technologies
Hello, We use TStringList quicksort/binary search routine I wrote for caching--works so well that I can recommend. Also, has anybody tested the IPv6 with listening/server components? Best Regards, SZ On Wed, Jun 2, 2010 at 10:04 PM, Francois PIETTE wrote: > How fast/slow this implementation w