NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

NetCore2.0 Unix: SocketException Operation not supported

Open rplsix opened this issue 3 years ago • 0 comments

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

rplsix avatar May 19 '21 10:05 rplsix