开发者

how to get dns server ip in iphone

开发者 https://www.devze.com 2023-01-02 11:47 出处:网络
I have tried to fetch /etc/resolv.conf by open(\"/etc/resolv.conf\", 0644) 开发者_StackOverflow中文版

I have tried to fetch /etc/resolv.conf by open("/etc/resolv.conf", 0644)

开发者_StackOverflow中文版

but it return -1 and the errno is 2 which means "no such file"

what can I do?


You can't access files outside your Application's sandbox.

0

精彩评论

暂无评论...
验证码 换一张
取 消