Non-blocking socket operation error on Windows
kbalk opened this issue · comments
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
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.