Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize connect() across *BSD/MacOS and Linux #13

Closed
dinosaure opened this issue Oct 7, 2022 · 1 comment
Closed

Normalize connect() across *BSD/MacOS and Linux #13

dinosaure opened this issue Oct 7, 2022 · 1 comment

Comments

@dinosaure
Copy link
Owner

It seems that Linux has a specific behavior about the connect() function and Windows, MacOS and *BSD don't follow the same behavior - they block on the syscall which is expected. We should refactor the code to consider the Linux behavior as a specific case and the rest of platforms as the normal case (set the socket to the non-blocking mode and do the connect()).

@dinosaure
Copy link
Owner Author

Closed by #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant