Libraries for ping, tracert, host


#1

Are there any libraries that I can use for ping, tracert and host or is the only option to use std::process::Command

Command::new(“ping”) etc… and then parse the results?


#2

Hi, found your question. I’m looking for the same thing (predominantly pinging). Did you have any luck finding what you were looking for?


#3

Not really. The best option that I found was a rust binding for a C
library. https://github.com/cfallin/rust-oping

Rust is so immature that nearly everything needs to be re-implemented from
scratch.