Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does this impact the reachabilityForLocalWiFi method in apple's Reachability sample, which appears to use an IPV4 address internally:

// IN_LINKLOCALNETNUM is defined in <netinet/in.h> as 169.254.0.0.

localWifiAddress.sin_addr.s_addr = htonl(IN_LINKLOCALNETNUM);



I've found there is a related StackOverflow question, so I have answered in detail there: http://stackoverflow.com/questions/31938536/reachability-and...

Short answer: Just Try The Connection.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: