ScotMac
ScotMac
So, what was the conclusion for this? The SetSocketOption value pass-thru appears to work for turning on TFO. However, for the send/buffer, it appears that a new SocketFlag on the...
OK, so the MSG_FASTOPEN *also* works for the sendto? But only on certain platforms? Can you provide the details please?
Can someone point me to how to use .NET to turn on TFO and send TFO data? Preferably in a platform independent manner. Is there some other issue that handles...
> @deeprobin is anything wrong with the usage proposed by the OP? The underlying Unix PAL (platform abstraction layer) could use a `sendto` syscall instead of `connect` in a transparent...
OK, this is what i am doing, as a pass-thru to the C native API for SendTo (SetSockOpt does NOT appear to be needed): m_client.Client.SendTo(Encoding.ASCII.GetBytes(m_conOption.ConnectData), 0, m_conOption.ConnectData.Length, (System.Net.Sockets.SocketFlags) 0x20000000, new...
It appears that the "pass-thru" for the SendTo() is not supported (like it IS for the SetSockOpt(). When i try it, I get the following error: SE : System.Net.Sockets.SocketException (95):...
And from this issue: https://github.com/dotnet/runtime/issues/28706 It appears that Send/SendTo are validating the flags, so no PASS-THRU flag is going to work.
We are discussing it internally. Thanks for the ping.
Based on the fact that we will have a good number of people using this within the cloud (not the public internet), we believe that 5% will not apply to...
@wfurt Hi Tomas, did your implementation make it into .NET 9 Preview 5? Is the new enum, specified here (SocketOptionName.FastOpen) implemented for your solution?