Anyone know how I could get the router's IP address into an NSString? (Not the external IP, just the local IP of the router.)
I can get it with the Terminal on Mac OS X with this command:
But is there a way to do it on the iPhone?

I can get it with the Terminal on Mac OS X with this command:
Code:
ipconfig getoption en1 router
But is there a way to do it on the iPhone?