On Wed, 5 Dec 2007 23:58:59 +0530 "Tharindu Rukshan Bamunuarachchi" <tharindunix@xxxxxxxxx> wrote: > Dear All, > > How can I maintain constant/minimum socket receive buffer. > > I have used setsockopt() with SO_RCVBUF value for 256bytes > > But according to tcpdump window size is changing after connection is > estabilished. > > Can It be possible to set socket receive buffer value less than > sysctl_tcp_rmem's minimum value. > > Do I have to disable tcp_window_scaling > > > Thankx > Regards > Tharindu Why? Is your application limited? or is the network so busted it can't take outstanding data? Setting RCVBUF less than MTU size is likely to be ignored, otherwise the sender on the other size would be do silly window avoidance. - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html