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.

Bests,

Olivier
Hi

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

<snip>
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.
</snip>

Brent

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to