Game Development Community

IP Address?

by Dave Young · in iTorque 2D · 03/31/2009 (9:31 am) · 1 replies

Does anyone have any code handy which grabs the Wifi IP address of the device?

I can't get network broadcasting over Wifi working, so to connect to a multiplayer game someone has to enter the IP directly. Until now I've been using iPing Lite to see what the IP address is, but it would make more sense to show it in the game itself.

#1
03/31/2009 (10:24 am)
I don't know of code to do it, but I just check the Settings app under wifi (click the little blue circley-arrow)