I would like to set TCP_KEEPIDLE, TCP_KEEPINTVL, and TCP_KEEPCNT settings using C# .NET Standard 2.1 System.Net.Sockets.Socket class in C# (that is accessed by TcpClient.Client).
Socket.SetRawSocketOption() doesn't seem to exist in .NET Standard 2.1. And, Socket.SetSocketOption doesn't seem to have the ability to set these options.
Can these be set using Socket.IOControl? If so how? If not, how can I set these values?
Thanks for any help you can provide.