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.
Topic:
App & System Services
SubTopic:
Networking
Tags: