The file descriptor leak is still present. Note that closing the socket
used for the SIOCGIFHWADDR ioctl in Linux did NOT deallocate the descriptor, nor was an error returned by close! I changed the code to use a statically allocated socket - better anyway.
Please register or sign in to comment