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
I would expect a ping being issued to ip's 192.168.0.1 thru 192.168.0.4, each leading to it's own callback and it's ip address being printed upon Serial. I do see the ARP and ICMP frames correctly in Wireshark. The OnEnd callback, however, is called only once, only for the last ip in the loop.
Am I doing something wrong? Am I missing something?
The text was updated successfully, but these errors were encountered:
I need to ping several hosts in parallel from an event callback function. I cannot figure out how to do this. I created an array:
Pinger pinger[5]; // as global, [0] is unused
And tried to issue the pings in a loop within an event callback:
I would expect a ping being issued to ip's 192.168.0.1 thru 192.168.0.4, each leading to it's own callback and it's ip address being printed upon Serial. I do see the ARP and ICMP frames correctly in Wireshark. The OnEnd callback, however, is called only once, only for the last ip in the loop.
Am I doing something wrong? Am I missing something?
The text was updated successfully, but these errors were encountered: