SO_SNDBUF default value
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > SO_SNDBUF default value




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SO_SNDBUF default value  
Kanti


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-04 07:47 AM

Hi,

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.

Kanti





[ Post a follow-up to this message ]



    Re: SO_SNDBUF default value  
Michael Fuhr


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: SO_SNDBUF default value  
David Schwartz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-19-04 12:46 PM


"Kanti" <kanti_14@rediffmail.com> wrote in message
news:89f9d3cd.0412172117.5b5e74fc@posting.google.com...

> 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.

For what protocol? And why do you think you need this information?

DS







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register