LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   setsockopt doubles size asked with SO_RECVBUF (https://www.linuxquestions.org/questions/linux-networking-3/setsockopt-doubles-size-asked-with-so_recvbuf-871312/)

madhavancha 03-27-2011 01:51 PM

setsockopt doubles size asked with SO_RECVBUF
 
Hi, When using setsockopt on a multicast scoket, I request a buffer of 8 MB. A subsequent cll to getsockopt though tells that the kernel allocated 16 MB. Why would this be the case?

Thanks.


All times are GMT -5. The time now is 03:03 AM.