No....atleast i am not aware of any call, which will set options for all sockets....but the default buffer sizes can be set by using sysctl() call ....see the man pages socket(7) and sysctl. HTH Regds Ketan tune more wrote: > Thanks, so each socket has their own buffers. > Is there any way to set buffer size for all? > And can we also set default buffer size for all? > > > --- Ketan Mukadam <kmukadam@neomagic.com> wrote: > >>No, the option setting is specific to particular >>socket. >> >>There exist a socket send and receive buffer >>attached to each socket, >>and these sizes are controllable. >> >>HTH >>Ketan >> >>tune more wrote: >> >>>Hi, >>> >>>If setsockopt with SO_SNDBUF/SO_RCVBUF option is >> >>used >> >>>on a socket descriptor, is that also effect on all >>>other descriptors. What SO_SNDBUF/SO_RCFBUF >> >>actually >> >>>changed, TCP SND, RCV buffer size? >>> >>>Thanks in advance. >>> >>>__________________________________________________ >>>Do you Yahoo!? >>>Faith Hill - Exclusive Performances, Videos & More >>>http://faith.yahoo.com >>>-- >>>Kernelnewbies: Help each other learn about the >> >>Linux kernel. >> >>>Archive: >> >>http://mail.nl.linux.org/kernelnewbies/ >> >>>FAQ: http://kernelnewbies.org/faq/ >>> >>> >> >> >>-- >> >>"Only the paranoid survives." --- Andy Grove >> > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > > -- "Only the paranoid survives." --- Andy Grove -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/