gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Finding DS IP address?

#139678 - spinal_cord - Sat Sep 08, 2007 8:48 pm

Just wondering how i can find my ds's ip address. In the wifi settings, i have it being set by the network, but all i can find on google, is that i should use some sort of onling php code. The problem with that is the ds will not always be online so getting a website to report my ip address wont work. Is there any code i should know about to read the ip address after a wifi connection is made?
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#139680 - simonjhall - Sat Sep 08, 2007 9:00 pm

I use Wifi_GetIPInfo (in dswifi9.h) to get network settings like gateway and subnet mask etc and Wifi_GetIP to get the actual IP address info.
_________________
Big thanks to everyone who donated for Quake2

#139684 - spinal_cord - Sat Sep 08, 2007 9:31 pm

Excellent, thankyou.

Hello_World.NDS will work much better now.
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage