12-18-04 07:47 AM
kanti_14@rediffmail.com (Kanti) writes:
> can anybody tell me default value of socket send buffer, and maximum
> value that can be set for this buffer using setsockopt? I want to know
> the value of wmem_max.
Default and maximum values vary depending on the OS and local
settings. See your system's documentation for how to query them
(for the default you could use getsockopt()).
My crystal ball tells me you're using Linux. If so, try running
the following commands:
/sbin/sysctl net.core.wmem_default
/sbin/sysctl net.core.wmem_max
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
[ Post a follow-up to this message ]
|