How to ping a server?

Just like going to cmd and ping a server, but in c++. I'd like to record results and do fun things with the data.

Thanks!
Topic archived. No new replies allowed.