Actually our client want us to keep it to 256bytes. But from our side I set it using SO_RCVBUF. According to "tcpdump"... Initially, win size was ~380. After few min buffer fills up and win size reset to 0. After that point, win size is changing peridically and never come down to ~380. Other than setting from SO_RCVBUF, are there anyway to set RCVBUF to minimum. I just want to keep only two packets at a time. are SO_RCVBUF and tcp_rmem independent from each other. is RCVBUF directly related to window size. Thankx Tharindu On Dec 6, 2007 11:12 AM, Anupam Kapoor <anupam.kapoor@xxxxxxxxx> wrote: > > How can I maintain constant/minimum socket receive buffer. > but why would you want to do that ? the other side would enter into > sws avoidance. > > anupam > -- > In the beginning was the lambda, and the lambda was with Emacs, and > Emacs was the lambda. > -- Tharindu Rukshan Bamunuarachchi asmlinkage void __init start_kernel(void) -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ