Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2009 08:10:42 +0700
From:      Thomas Wahyudi <thomas@sanbe-farma.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Setting the mss for socket
Message-ID:  <49D56212.1000702@sanbe-farma.com>
In-Reply-To: <49D4C9A0.9000804@freebsdbrasil.com.br>
References:  <3FD46C21A487490FB15B89E890790121@adnote989> <49D4C9A0.9000804@freebsdbrasil.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D56212.1000702>