Re: [twsocket] Throttling solution - Integrate Dan's throttler into ICS?
Sorry for the late reply. I still have about 200 messages to catch up on since I took a break. I haven't converted it to V6 yet but I plan to in the future. You are welcome to try before me :) Regards, Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Sent: 14 December 2006 03:39 To: ICS support mailing Subject: Re: [twsocket] Throttling solution - Integrate Dan's throttler into ICS? Hi Dan Did you update it for V6 ? Or currently it only work for V5 ? Thanks Marc At 17:22 2006-12-10, you wrote: Hi Jack, You should be able to derive your own class from TWSocketServer which instantiates throttled sockets instead of regular ones. Then you don't have to modify ICS code. I did it for the FTP server component, I can upload it somewhere if you want. Let me know if you do this and maybe you could make the code available to others. Regards, Dan -- 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 -- 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
Re: [twsocket] Throttling solution - Integrate Dan's throttler into ICS?
Hi Dan Did you update it for V6 ? Or currently it only work for V5 ? Thanks Marc At 17:22 2006-12-10, you wrote: Hi Jack, You should be able to derive your own class from TWSocketServer which instantiates throttled sockets instead of regular ones. Then you don't have to modify ICS code. I did it for the FTP server component, I can upload it somewhere if you want. Let me know if you do this and maybe you could make the code available to others. Regards, Dan -- 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
[twsocket] Throttling solution - Integrate Dan's throttler into ICS?
Although throttling has been brought up many times, I'm still in search for a simple throttling mechanism for my single-threaded server app. I just did a search in my emails, and found the following mentioning of throttling: Dan [EMAIL PROTECTED] has a wrapper for TWSocket class: http://www.xantorrent.pwp.blueyonder.co.uk/ics/uThrottledWSocket.pas There is a link here but the link to the code is broken, so I don't know how it works: http://www.smatters.com/ics/ Dan's class would work if I'm using a TWSocket class directly. However, I'm actually using a TWSocketServer class, which in turn instantiates TWSocketClient class, which inherits from TWSocket. So, in order to use Dan's throttler, I'll have to change ICS code quite a bit, which I don't intent to do (for ease of ICS upgrade.) I'm using a single threaded server, so multi-threaded throttling mechanism won't be applicable. It sounds like a good idea to integrate Dan's throttler into ICS, if Dan and Francois agree. What do others say? Or, is there any easier ways to throttle the TWSocketClient class? -- Best regards, Jack -- 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