title: Retrieving a List of network interfaces in node.js (ioctl SIOCGIFCONF)
body: <p>I'm new to node and am hacking together a node application utilizing <a href="https://github.com/mranney/node_pcap">node_pcap</a> to capture packet data and do interesting things with it.  One of the inputs to capturing data is the network interface to listen on, i.e. "eth0".</p>
  
  <p>I thought it would be really great if I could programmatically look up the available interfaces on the system and present them to the user of the program and allow them to pick which interface to listen on.  In C, I would use <a href="http://kernel.org/doc/man-pages/online/pages/man2/ioctl.2.html">ioctl</a> (or ioctlsocket with winsock) using SIOCGIFCONF.</p>
  
  <p>My question is, does there currently exist a mechanism to do this in node?   I've searched quite a bit and haven't arrived to any such solution.</p>
  
  <p>If this functionality does not currently exist,  I would assume I'd be able to write a Module binding in C/C++ using ioctl to accomplish this.</p>
  
  <p>Thank you for your time!</p>