Why changing value of SO_RCVBUF doesn’t work?
You may also be limited by the OS, if it still doesn’t seem to be working. Check the values in: /proc/sys/net/core/rmem_default /proc/sys/net/core/rmem_max If it’s TCP as you say in your example, and not actually a raw socket, you can also check the values in: /proc/sys/net/ipv4/tcp_mem If you run cat on these files they’ll show you … Read more