Re: Setting the mss for socket

2009-04-03 Thread Julian Elischer
Luiz Otavio O Souza 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 i

Re: Setting the mss for socket

2009-04-03 Thread Luiz Otavio O Souza
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 Augu

Re: Setting the mss for socket

2009-04-03 Thread perryh
"Luiz Otavio O Souza" 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

Re: Setting the mss for socket

2009-04-02 Thread Thomas Wahyudi
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

Re: Setting the mss for socket

2009-04-02 Thread Patrick Tracanelli
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. I've read the code and i cannot find by myself (at least fr

Setting the mss for socket

2009-04-02 Thread Luiz Otavio O Souza
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. I've read the code and i cannot find by myself (at least from a 30minute reading) a singl