I think I've fixed the bug with the connection closing before all data is received. However, I am now getting strange throttling speeds, whereas in the past it was always throttled at the correct speed. Maybe I have accidentally changed something in the throttling code or maybe my FTP client is playing up. Give the new version a try, and if the speeds act up for you see if there are any differences in the throttling procedure between the two versions. New version is now at http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip I've had a look at the smatters throttling code but I think it needs your socket code to be in a separate thread. If thats ok for your purposes its probably the better option.
Dan ----- Original Message ----- From: "Darin McGee" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Monday, August 22, 2005 9:16 PM Subject: Re: [twsocket] Bandwidth control Here is another throttle for TWSocket http://www.smatters.com/ics/ Darin ________________________________ From: [EMAIL PROTECTED] on behalf of David A. G. Sent: Mon 8/22/2005 12:41 PM To: ICS support mailing Subject: Re: [twsocket] Bandwidth control Dan, I tried to upload files into the server and all files was broken. I think the last chunk of data is not saved. In the other hand downloading files from the server is working good. If you have some new update please tell me, I was finding for this kind of code for a long time... thanks, David ----- Original Message ----- From: "Dan" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Monday, August 22, 2005 8:32 AM Subject: Re: [twsocket] Bandwidth control > As in uploading to the ftp server? > I'll look into it. > > Dan > > ----- Original Message ----- > From: "David A. G." <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Monday, August 22, 2005 2:09 AM > Subject: Re: [twsocket] Bandwidth control > > >> Dan, >> >> Thanks for your code, I think the upload algorithm has a bug because my >> test >> file is not completely uploaded :(, but the download is great. >> >> David >> >> >> >> >> ----- Original Message ----- >> From: "Dan" <[EMAIL PROTECTED]> >> To: "ICS support mailing" <twsocket@elists.org> >> Sent: Sunday, August 21, 2005 9:13 PM >> Subject: Re: [twsocket] Bandwidth control >> >> >>> http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip >>> >>> Has ThrottledWSocket and ThrottledFTPSrv. Should be easy to do the same >>> for >>> HTTP. >>> >>> Dan >>> >>> ----- Original Message ----- >>> From: "David A. G." <[EMAIL PROTECTED]> >>> To: <twsocket@elists.org> >>> Sent: Sunday, August 21, 2005 11:42 PM >>> Subject: [twsocket] Bandwidth control >>> >>> >>>> Hello, I'm finding an example of how to control the bandwidth in HTTP >>>> and >>>> FTP server, any one has? >>>> thanks in advance, >>>> David >>>> >>>> -- >>>> 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 >> >> -- >> 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 -- 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 -- 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