-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Minor Change
We are running a mission-critical application in a Linux container and PlatformNotSupported is being thrown frequently.
Looking at C# Driver code, seems we are first trying socket.IOControl and if an exception happens, we try socket.SetSocketOption (reference), but according to .Net Runtime code, this would always be the case (reference), as IOControlCode KeepAlive is only supported for windows (reference)
For top performance, shouldn't we check for Platform in order to switch between IOControl or SetSocketOption methods?