[go-nuts] Re: TCP max segment size

2022-01-04 Thread Brieuc Jeunhomme
Thank you for your answer. In case someone else is interested, the answer I was looking for was: the Dialer struct has an optional Control member, that the user can set. It's a a function that will be called before the connect() syscall is issued, allowing to set whatever socket options before

[go-nuts] Re: TCP max segment size

2021-10-08 Thread Sean Liao
net.TCPConn.SyscallConn exposes the fd which you can use with sycalls On Friday, October 8, 2021 at 7:05:40 PM UTC+2 bjeun...@gmail.com wrote: > Hi, > > looking at the net package of the standard library, I don't see a way to > set the tcp max segment size. Surely, one can create a tcp connecti