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

Non-blocking socket operation error on Windows #3

Closed
kbalk opened this issue Nov 10, 2017 · 1 comment
Closed

Non-blocking socket operation error on Windows #3

kbalk opened this issue Nov 10, 2017 · 1 comment

Comments

@kbalk
Copy link

kbalk commented Nov 10, 2017

I'm getting the following error from the receive() method when running on Windows:

ERROR: [Errno 10035] A non-blocking socket operation could not be completed immediately

My understanding is that 10035 indicates the end of data. The error does not occur if I make the following change in _read_all_from_socket():

if e.errno == 11:
to
if e.errno == 11 or e.errno ==10035

@jbrendel
Copy link
Contributor

Thank you for that! I have incorporated your suggested fix and acknowledged you in this commit here: bb3e19a

multiping 1.0.6 has been created and uploaded to pypi.

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

2 participants