Skip to content

Conversation

@CapsAdmin
Copy link
Owner

I think this is what was meant here, can you confirm? @vwout

When a socket is non-blocking, you might get these timeout ish errors which result in a single "timeout" message for the developer's convince.

But the current logic seem to check if the socket is blocking, rather than non-blocking.

This PR fixes all the non blocking examples on my macbook air at least. But can we get timeout errors when the socket is blocking as well?

@CapsAdmin CapsAdmin closed this Oct 22, 2025
@vwout
Copy link
Collaborator

vwout commented Oct 22, 2025

Hi, good that you did not merge this change. As far as I know, timeouts only occur when the socket is blocking. Other than that I'd rather not introduce multiple returns in a function when not strictly needed.

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

Successfully merging this pull request may close these issues.

3 participants