Change size of network data receving buffer on Linux OS
We know that, in a network, data transfer time is dependent on capacity of the receiving node.
I have two Linux systems A (sender) and B (receiver) connected.
I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data.
I believe, I can do this if I can reduce the capacity of the receiver node B.
That perhaps possible by decreasing the receiving buffer size of B.
How can I change the receiving buffer size of this linux system B?
Thanks and regards,