dns_open is found in iPhoneOS5.0 in usr/include dns.h but I get a linker error. I can’t seem to find the right framework for it.
on MacOSX this is probably found in System.framework but there is apparently no System.framework in iOS SDK
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.
I’m pretty sure it’s in
libresolv.dylib. Try adding that from the list of “frameworks” you get when you add one in Xcode.