摘要: #include <ifaddrs.h> #include <arpa/inet.h> - (NSString *)getIPAddress { NSString *address = @"error"; struct ifaddrs *interfaces = NULL; struct ifadd 阅读全文
posted @ 2017-01-11 16:13 graveliang 阅读(1889) 评论(0) 推荐(0) 编辑