NetCoreServer
NetCoreServer copied to clipboard
NetCore2.0 Unix: SocketException Operation not supported
Branch NetCore2.0 is not running with TargetFramework "netstandard2" throwing an exception and killing the application.
The problem is https://github.com/chronoxor/NetCoreServer/blob/e3c9848386daa25234460afa32aa6283473dbdb6/source/NetCoreServer/TcpServer.cs#L173 . This exists on Unix only since "netstandard2.1". On "netstandard2" it is missing. Target 2.0 is though required for .NET Framework interoperability so upgrading to 2.1 is not an option.
See https://github.com/dotnet/corefx/pull/24809