Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 115  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Variable has incomplete type 'struct sockaddr_in'
  2. struct sockaddr_in sin;
  3.        
  4. Variable has incomplete type 'struct sockaddr_in'
  5.        
  6. Forward declaration of 'struct sockaddr_in'
  7.        
  8. #import <sys/socket.h>
  9. #import <netinet/in.h>
  10. #import <netinet6/in6.h>
  11. #import <arpa/inet.h>
  12. #import <ifaddrs.h>
  13. #include <netdb.h>
  14. #import <SystemConfiguration/SCNetworkReachability.h>