somdoron / AsyncIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlatformNotSupportedException on Linux

Svisstack opened this issue · comments

Having an indirect problem with this library. Does it work outside the Window?

[14:21:05 FTL] Unhandled exception
System.PlatformNotSupportedException: Socket.IOControl handles Windows-specific control codes and is not supported on this platform.
   at System.Net.Sockets.SocketPal.WindowsIoctl(SafeSocketHandle handle, Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue, Int32& optionLength)
   at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at System.Net.Sockets.Socket.IOControl(IOControlCode ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)
   at AsyncIO.DotNet.NativeSocket.IOControl(IOControlCode ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)

Yes, which OS?

@somdoron Appreciate the fast response on this one as this blocked me hard. I confirm that without KeepAlive works correctly.