Ethereal-dev: Re: [Ethereal-dev] Re: Problems compiling ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 3 Aug 2002 13:03:31 -0700
On Sat, Aug 03, 2002 at 09:42:08PM +0200, Joerg Mayer wrote:
> > pcap-util,c:       It needs sys/socket.h but not sys/types.h

Which is good, becuase it includes <sys/socket.h> but doesn't include
<sys/types.h>. :-)

> Can you tell me what socket.h is needed for?

On UNIX, it creates a socket on which to do various ioctls to get the
list of interfaces.