using iphone SDK 3.1.2
If connected via 3G on the iphone to internet, how do i find out what ip address
is being used for this interface.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a code piece that might help:
I am not trying to get credit for this piece of code myself. Here’s the original URL.
Key function call is getifaddrs.
Hope it helps.