Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Displaying IP Addresses

Author
Message
Juggalo Memnoch
16
Years of Service
User Offline
Joined: 22nd Apr 2008
Location:
Posted: 21st Mar 2011 17:26 Edited at: 21st Mar 2011 17:59
Can anyone help me with displaying the Public and Local IP Addresses in the program?... I'm working on multi-player and I want to be able to have it displayed in the corner so the user doesn't have to waste time going to websites to find out their Public IP. And their local IP for LAN games.

Any help would be appreciated
puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 21st Mar 2011 22:45 Edited at: 21st Mar 2011 22:52
This uses winsock:




That'd be your local ip.
Juggalo Memnoch
16
Years of Service
User Offline
Joined: 22nd Apr 2008
Location:
Posted: 21st Mar 2011 22:52
Thank you very much puppyofkosh!

Now if anyone else knows what to do for the Public Address....

Login to post a reply

Server time is: 2024-09-28 12:36:49
Your offset time is: 2024-09-28 12:36:49