Re: [twsocket] FTP Server Virtual Directory Example

2010-10-25 Thread Angus Robertson - Magenta Systems Ltd
I have not done a lot of overriding. Using the FtpServer demo program can you point me in the right direction for doing the overload? Looking at my code again, I see my overridden BuildDirList function is actually commented out, it must have been my first attempt at adding virtual directory

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Svemu - Reparto Sviluppo
with an old version of ics, i use OnProgress for update a label with current trasfer, now i move to OnProgress64 but i see that event is fired every second, there is a way to have an update every 100 ms ? Updating a label every 100 mS is a non sense. Updating once per second is enough. in my

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Francois PIETTE
with an old version of ics, i use OnProgress for update a label with current trasfer, now i move to OnProgress64 but i see that event is fired every second, there is a way to have an update every 100 ms ? Updating a label every 100 mS is a non sense. Updating once per second is enough. in my

Re: [twsocket] Quality of Service?

2010-10-25 Thread Stefan Paege
Francois, I just wanted to report back that I got everything working now. The simple problem was that I tried to use TWSocket.Handle as you suggested. But I have to use TWSocket.HSocket instead. Regarding IP_TOS: You should not use it on Vista and later. And you don't need to as there is a nice

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Angus Robertson - Magenta Systems Ltd
in my case have sense : i need to create a graph with instant bandwish and other. So you want to update your graph and label up to 100 times per second, are you sure anyone can see changes that fast? Also note that transfer will be blocked each time you perform your label and graph

Re: [twsocket] Quality of Service?

2010-10-25 Thread Francois PIETTE
I just wanted to report back that I got everything working now. The simple problem was that I tried to use TWSocket.Handle as you suggested. But I have to use TWSocket.HSocket instead. Thanks for your feedback. I'm always happy to know how user solved problems. Not enough people take the time

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Jeff Hamblin
On 10/25/2010 1:32 AM, Angus Robertson - Magenta Systems Ltd wrote: So you want to update your graph and label up to 100 times per second, are you sure anyone can see changes that fast? I believe the poster stated 100 ms -- which would be 10 times per second. Probably a bit overkill still,

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: with an old version of ics, i use OnProgress for update a label with current trasfer, now i move to OnProgress64 but i see that event is fired every second, there is a way to have an update every 100 ms ? Updating a label every 100 mS is a non sense.

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Angus Robertson - Magenta Systems Ltd
I believe the poster stated 100 ms -- which would be 10 times per second. Probably a bit overkill The old version calls the progress event whenever a buffer is read or written, which might be 100 times per second with high speed transfers, not every 100ms. Angus -- To unsubscribe or