As my colleague Ed mentioned, the interface has a lot of ‘interesting’ backstory. My general advice is to avoid that API wherever possible. However, before we dig into alternatives I want to ask about this: [quote='793921021, Nick_Ni, /thread/793921, /profile/Nick_Ni'] When running my app with Xcode16.4, it crashed with the error: [/quote] I built a tiny test function that calls __res_9_state and called it from both a macOS program and an iOS app and both worked just fine. So where are you running your code? Specifically, what platform and what version of that platform? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Networking