Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Connection opens and immediately closes on Linux using .NET 5 #43

@KrytenCoder

Description

@KrytenCoder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions