I have a list of server IP addresses, I need to check if each one is online and how long the latency is.
I haven\'t found any strai
If you want to avoid implementing all the network communication details you could probably try to build something on top of fping:
fping is a like program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a target host is responding. fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping. Instead of sending to one target until it times out or replies, fping will send out a ping packet and move on to the next target in a round-robin fashion.