Setting the mss for socket

perryh at pluto.rain.com perryh at pluto.rain.com
Fri Apr 3 01:00:22 PDT 2009


"Luiz Otavio O Souza" <lists.br at gmail.com> wrote:
> 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.

Depending on exactly what you need to accomplish, you may
find something useful in this thread from last August in
freebsd-questions@

  setting the other end's TCP segment size


More information about the freebsd-hackers mailing list