scs icon indicating copy to clipboard operation
scs copied to clipboard

Connection opens and immediately closes on Linux using .NET 5

Open KrytenCoder opened this issue 5 years ago • 1 comments

As the title suggests I am using Scs on a linux server with .NET 5 runtimes. When a connection opens, it immediately closes with a error "Resource temporarily unavailable".

I have fixed this by removing the code around the connection method in TcpHelper.cs which disables Blocking and then re-enables it again right after. This change works now with no noticeable side effects.

Could you explain why Blocking was disabled while connecting? Also could this cause issues later when I test with more connections?

KrytenCoder avatar Mar 31 '21 00:03 KrytenCoder

in .net 6 with linux debian 11 it does not work. I've been investigating but I can't find how to fix it. MY BAD. Removing the code works. Just see if there are any side effects.

gfazzola avatar Oct 03 '23 16:10 gfazzola