Jun-23-2018, 12:36 AM
i want to write a new ping program in python. but i want it to differ from the classic ping program in the following ways:
1. timing that does not accumulate offsets or errors. this means that for each event this program does, it first determine when the event should happen, then calculates the time interval to the next event.
2. it should accept multiple addresses and ping them in ordered rotation or random select with a consistent spread of the addresses of the of rotation. it should be possible to specify the interval of time between each rotation cycle.
3. it should be able to use a number of methods to ping a remote host, such as ICMP or UDP or TCP.
4. it should be able to decide if a remote host is up or down reliably based on a number of ways and take an action when the condition is met.
1. timing that does not accumulate offsets or errors. this means that for each event this program does, it first determine when the event should happen, then calculates the time interval to the next event.
2. it should accept multiple addresses and ping them in ordered rotation or random select with a consistent spread of the addresses of the of rotation. it should be possible to specify the interval of time between each rotation cycle.
3. it should be able to use a number of methods to ping a remote host, such as ICMP or UDP or TCP.
4. it should be able to decide if a remote host is up or down reliably based on a number of ways and take an action when the condition is met.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.