rsp
rsp copied to clipboard
A Really Simple Proxy
Let's run two iperf3 servers on ports 5201 and 5202 iperf3 -s & iperf3 -s --port 5202 Now, lets duplicate the listener creation function to proxy both ```c create_server_socket_handler("5101", "127.0.0.1",...
https://github.com/gpjt/rsp/blob/9d1b40c69a05cc784b78c2386efa2afcce899b8c/src/connection.c#L16-L18 When I use ``` const int BUFFER_SIZE = 8 * 1024; ``` I still get good performance  but when I increase it to 16k or 32k, I get...