Instead of making the send buffer size super small, just do a sleep when sending data to simulate the inability to send out as much data as desired.
Instead of making the send buffer size super small, just do a sleep when sending data to simulate the inability to send out as much data as desired.