Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
Anton S. wrote: >> I suggest you read the change log with a SVN client, > > I've read it just now, and all it said was about XE support :) In the TortoiseSVN log view you have to tick checkbox "Include merged revisions" to see all changes. -- Arno Garrels -- To unsubscribe or change your sett

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Anton S.
>I suggest you read the change log with a SVN client, I've read it just now, and all it said was about XE support :) I'll seek changes with WinMerge. -- Anton -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> AFAIK Angus also uses the throttle in >> production since quite a while, don't know if server or client. > > I added EXPERIMENTAL_THROTTLE to the ICS FTP server component to slow > down downloads on LANs, much easier to test clients that way. > > I

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Angus Robertson - Magenta Systems Ltd
> AFAIK Angus also uses the throttle in > production since quite a while, don't know if server or client. I added EXPERIMENTAL_THROTTLE to the ICS FTP server component to slow down downloads on LANs, much easier to test clients that way. I thought you had added EXPERIMENTAL_THROTTLE to the IC

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
Zvone wrote: >> It supports RAD Studio XE. >> The new POP3 client might break existing code, read the >> comments in OverbyteIcsPop3Prot.pas. > > So the updated POP3 is now in main trunk, not anymore on that other > separate URL? Yes, with one reverted change, event OnDisplay uses "String" again.

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Zvone
> It supports RAD Studio XE. > The new POP3 client might break existing code, read the > comments in OverbyteIcsPop3Prot.pas. So the updated POP3 is now in main trunk, not anymore on that other separate URL? What about those EXPERIMENTAL timeout and throttling... can we count on these to stay or

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Arno Garrels
Kurt Andersen wrote: > On a side note, I have been hammering away on my Server app using a > (homemade) multithreaded SSL client, and sometimes > I get a ErrCode = 1 in the OnHandShakeDone event. > > Do you have any idea as to what might be causing this ? It can be anything. Specific SSL error

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Arno Garrels
Kurt Andersen wrote: > But as far as I understand Arno, he would recommend not going > multithreaded unless absolutely necessary > e.g. lengthy operation which blocks socket I/O. Yes, I prefer this, it's easier to write and to debug unless there's no need to utililize multiple CPUs for the sock

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Kurt Andersen
Hi Thanks for the example. My application is a server using SSL encryption to transport a custom protocol, where as your example is a "load-test client" as far as I can tell. However the idea of having multiple clients grouped together on a smaller number of separate (server) threads would min

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Kurt Andersen
Arno, So what you're suggesting is dropping the threads, if I only have event-based and non lengthy message handling in my OnDataAvailable event - thus giving my server app more headroom for concurrent sessions ? On a side note, I have been hammering away on my Server app using a (homemade) m

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Fastream Technologies
Hello, AFAIU, you are suggesting multiple-clients/thread design. We have a source code example of that (C++) at, http://www.fastream.com/webstresstester.php HTH, SZ On Wed, Sep 1, 2010 at 12:30 PM, Arno Garrels wrote: > Kurt Andersen wrote: > > > I have now implemented a working multithreade

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Arno Garrels
Kurt Andersen wrote: > I have now implemented a working multithreaded test (server) > application which uses both the TWSocket and the TSslWSocket in a > non-blocking manner. Just a side note to your design "One Thread Per TWSocket Instance", it's not optimal IMO. TWSocket objects allocate at lea

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
Anton S. wrote: >> Note that the old icsv7 branch doesn't get any more >> updates, updates go to the trunk from now. > > What's the difference between old and new v7 ? It supports RAD Studio XE. The new POP3 client might break existing code, read the comments in OverbyteIcsPop3Prot.pas. I sugge

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Anton S.
>Note that the old icsv7 branch doesn't get any more >updates, updates go to the trunk from now. What's the difference between old and new v7 ? -- Anton -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visi

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Kurt Andersen
Hi Arno Once again many thanks for the quick reply. I have now implemented a working multithreaded test (server) application which uses both the TWSocket and the TSslWSocket in a non-blocking manner. The "regular" WSocket is used to accept incoming sessions, which are then carried on in a new c