D
Dave P
Need to get my wan ip from my desktop application
any examples
TIA
Dave
any examples
TIA
Dave
Dave said:Need to get my wan ip from my desktop application
any examples
Dave said:I know this..
so what you all do here...play games
C++ is used too build operating systems, navigation systems, Networking,
so tell me smart man....nobody in here
has a example of writing a small piece of code too
grab a wan ip from the inernal wan
Ben Pope said:Here, we discuss C++ as defined by the ISO standard.
Yes, and each one of those is different, and provide their own APIs for
things such as networking. Standard C++ does not have any networking
built in.
Well, on my system this works:
#include <network>
using namespace network;
int main() {
address_t ip = get_external_ip();
}
but as already mentioned, this is OS specific, I doubt very much you
have the same system as I.
Ben Pope
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.