Olivier Nicole wrote:
Maybe torrent protocol includes something where by the client tells
its peers to send data at a slower rate.

Traffic shaping is done at IP or TCP level, while the up/down load
speed is managed at the client level.



I posted the same Q on netfilters mailinglist. This was one of the answers I got ....

If you read from socket at fixed rate, it's TCP receive buffer is emptied at same rate. TCP announces free buffer in receive window field, so congestion window on sender side is also adjusted, thus limiting send speed to the rate you read from socket on receiver side.


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to