python_ping
python_ping copied to clipboard
current_socket.setblocking(0) needed in windows
if not add current_socket.setblocking(0), the current_socket.recvfrom will always be block when ping to an unreachable address in windows.