Traffic throttling
| From: | Michelle Konzack | Date: | Tue, 21 Jul 2009 15:31:22 +0000 |
| Subject: | Traffic throttling | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-295619@lists.php.net to get a copy of this message | ||
Hello,
since I have not the file store in my webspace for security reason, I
use a php5 script to push it out. It even support "resumeing".
some times ago, there was someone who told me to send out the files in
chunks of, e.g. 1 kByte, which let me know to count the REAL traffic a
client produce...
OK, now the script works perfectly and I am able to delay the sending
between two chunks, but what I need is a milisecond timer, because 1s is
definitively to long.
Is there something in php5 I can use?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>
Michelle Konzack
<http://www.can4linux.org/> c/o
Vertriebsp. KabelBW
<http://www.flexray4linux.org/>
Blumenstrasse 2
Jabber linux4michelle@jabber.ccc.de 77694 Kehl/Germany
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886 Tel. FR: +33 6 61925193