When using Reachability.h
— Apple's code to deal with connections on iOS:
+ (Reachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress;
I am getting the following warning:
Declaration of 'struct sockaddr_in' will not be visible outside of this function