> On May 15, 2013 at 8:41 AM philippe.houdoin@xxxxxxxxx wrote: > + if (ioctl(socket.FD(), SIOCGIFINDEX, &request, > + sizeof(struct ifreq)) >= 0) { > + interfaceArray[i].if_index = request.ifr_index; Thanks! This looks like a coding style issue, though: the sizeof() needs to be indented one tab further than the line below, as it's not part of the 'if' but an argument of ioctl(). Bye, Axel.