Hi Dan, now it is working good ! About the Speed, yes, there is a problem there. I set up 10KB for Up and Dw and I got exactly 20KB :) the double.
I will try to check the code (but if you know where start finding the error please tell me). Look my logs: Executing Requested Command > PASV < 227 Entering Passive Mode (127,0,0,1,17,47). > STOR x.dat < 150 Opening data connection for x.dat. < 226 File received ok ! 962564 bytes received/sent in 47 seconds (20000 Bytes/sec) Request 18 Done. StatusCode = 226 LastResponse was : '226 File received ok' No error Executing Requested Command > PASV < 227 Entering Passive Mode (127,0,0,1,17,49). > RETR x.dat < 150 Opening data connection for x.dat. < 226 File sent ok ! 962564 bytes received/sent in 48 seconds (19000 Bytes/sec) Request 10 Done. StatusCode = 226 LastResponse was : '226 File sent ok' No error many thanks, see you, David ----- Original Message ----- From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Tuesday, August 23, 2005 12:10 PM Subject: Re: [twsocket] Bandwidth control > Hello Dan, > >> I've had a look at the smatters throttling code but I think it needs your >> socket code to be in a separate thread. > > Yes you right, the code from Davie is for use in a thread. > > --- > Rgds, Wilfried > http://www.mestdagh.biz > > -- > 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