Hey, I googled it and found TONS of pages, but most are for linux/C#/VB and I can't seem to get any C++ code for this X_X. I did a search on the forum, and couldn't find anything either...

Anyway, I would like to have my program "ping" a host name and then return the ip address (only 1 is required, I don't need a list). I don't need to know latency/any of that stuff, Just the ip address :P.

Thanks for your help :D.

You didn't look very hard did you? Click here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.