title: Having a problem figuring out how to get Ethernet interface info on Mac OS X using ioctl/SIOCGIFADDR/SIOCGIFCONF?
body: <p>Are you having a problem figuring out how to get interface info on Mac OS X using ioctl/SIOCGIFADDR/SIOCGIFCONF?</p>
  
  <p>I had a lot of trouble getting code that worked fine on Linux to work on Mac OS X today.</p>