Ethereal-dev: Re: [ethereal-dev] How is Windows version of Ethereal going?

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

From: Warren Young <tangent@xxxxxxxx>
Date: Wed, 24 Nov 1999 15:12:31 -0700
Guy Harris wrote:
> 
> > If this would be an NT-only app and you can ignore NT 3.x, you can use
> > the WSAIoctl() function with the SIO_GET_INTERFACE_LIST option to get
> > the network interface list.
> 
> I think there's also some raw registry trolling that'll do the same
> thing, although I think it'd be done different on Windows NT and Windows
> OT.

That's the point of this ioctl(): so that you don't have to trawl the
registry to find this info.  Sometimes it's inevitable, but if all you
need is the interface specs, this is an easy way to get it.  

On the other hand, your capture engine might already need to grovel
about in the registry, so you'd have this info at hand anyway.
-- 
= Warren Young: www.cyberport.com/~tangent |   Yesterday it worked.
= ICBM Address: 36.8274040N, 108.0204086W, | Today it is not working.
=               alt. 1714m                 |   Windows is like that.