Setting the mss for socket

Thomas Wahyudi thomas at sanbe-farma.com
Thu Apr 2 18:30:04 PDT 2009


Patrick Tracanelli wrote:
> Luiz Otavio O Souza escreveu:
>> Hello hackers,
>>
>> Is there a way to set the mss for a socket ? Like you can do in linux 
>> with setsockopt(TCP_MAXSEG) ?
>>
>> So i can set the maximum size of packets (or sort of) from a simple 
>> userland program.
>>
you mean sysctl -w net.inet.tcp.mssdflt=512 ?


More information about the freebsd-hackers mailing list