Thank you!
Post
Replies
Boosts
Views
Activity
Could you explain why gethostbyname doesn't work, I thought gethostbyname and getaddrinfo were pretty much the same in my case.
Also I would like to confirm that by calling getaddrinfo or CFHostGetAddressing, the system will cache the IP address and use it for the next WKWebView or NSURLRequest to speed up the network request, is that right?
I did some automation tests, and in the 480 tests, the first request after the app starts, using gethostbyname can be about 20ms faster on average than without gethostbyname.
I have not encountered such crashes myself, but only saw other person's cases in the forum: https://developer.apple.com/forums/thread/711054
I did some automated tests, and in the 480 tests, the first request after the app starts, using gethostbyname can be about 20ms faster on average than request without gethostbyname.
I have not encountered such crashes myself, but only saw other person's cases in the forum: https://developer.apple.com/forums/thread/711054.