In Linux, one can specify the system's default receive buffer size for network packets, say UDP, using the following command:
$ sysctl -w net.core.rmem_max=<value>
Can we use setsockoption() to handle socket? We have tried multiple times but this option is not giving the more than rmem_max max value which were already set in OS.