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

Feature:0001 Multi-thread the ping #3

Open
teivarodiere opened this issue Jul 4, 2021 · 0 comments
Open

Feature:0001 Multi-thread the ping #3

teivarodiere opened this issue Jul 4, 2021 · 0 comments

Comments

@teivarodiere
Copy link
Owner

teivarodiere commented Jul 4, 2021

Feature:0001 Multi-thread pinger

Currently, the application generates a list of possible targets to ping. After it has created the array of ping-able targets, it for loops through the list. During each for loop, ping.SendAsync is issued.

What i'd like is to independently loop through each ping target in parallel, and not have wait for one to start the next.

The loop sleeps for a period (in seconds) that is the difference between (1 second less (-) the time taken to ping a Target).
For example. To ping a target every 1 second. If it takes 0.5 second to get a reply, then the sleep function waits another 0.5 seconds, the loops. When are are multiple targets, it's not possible to control the sleep function unless the pings are in parallel.

@teivarodiere teivarodiere changed the title Multi-thread the ping Feature:0001 Multi-thread the ping Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant