You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same MultiPing instance can't be used twice.
It's ugly to create a new object if you want to ping to the same address again.
At least some kind of reset() method would be great.
pinger = MultiPing(['192.168.112.1'])
pinger.send()
ok, nok = pinger.receive(2)
print(ok, nok)
time.sleep(3)
pinger.send()
ok, nok = pinger.receive(2)
print(ok, nok)
multiping.MultiPingError: No responses pending
receive() returns a tuple[dict, list].
Is there a reason for that? If i send two packets at once, what seems to be allowed in this way, only one response per given destination is being returned. MultiPing(['192.168.112.1', '192.168.112.1'])
{'192.168.112.1': 0.0020570755004882812} []
The text was updated successfully, but these errors were encountered:
The same MultiPing instance can't be used twice.
It's ugly to create a new object if you want to ping to the same address again.
At least some kind of reset() method would be great.
multiping.MultiPingError: No responses pending
receive() returns a tuple[dict, list].
Is there a reason for that? If i send two packets at once, what seems to be allowed in this way, only one response per given destination is being returned.
MultiPing(['192.168.112.1', '192.168.112.1'])
{'192.168.112.1': 0.0020570755004882812} []
The text was updated successfully, but these errors were encountered: