Reachability.h文件在iOS6中会出现这样的一个Warning:

Semantic
Declaration of 'struct sockaddr_in' will not be visible outside of this function.

解决方法是引入以下的Header文件:

#import <netinet/in.h>

 

 

posted on 2013-04-08 09:36  BankFish  阅读(893)  评论(0编辑  收藏  举报