title: how to get ip address of iphone programmatically
body: <p>I got a webserver up and running in iphone by using <a href="https://code.google.com/p/mongoose/" rel="noreferrer">Mongoose</a>. But the problem is how can I get the ip address of my iphone/ipad to let the user's know where they can access the server. I found that <code>[NSHost addresses]</code> can do the job but I am developing for app store and this is undocumented method.</p>