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: Tue, 23 Nov 1999 20:22:00 -0700
Gilbert Ramirez wrote:
> 
> On Sun, Nov 21, 1999 at 11:20:58AM +1000, Richard Sharpe wrote:
> >
> > So, I am wondering how the Windows version of Ethereal is going?
> 
> It's not up to date. I haven't tried compiling in a long time. With minimal work,
> a read-only version of Ethereal can be made. A port of libpcap is available for NT,
> but I have not yet tried very hard to get ethereal to work with it. I got through
> it a bit, but when I got the to portion of the capture GUI that lists interfaces, I
> stopped.

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 assume that you're using ioctl(SIOCGIFCONF) on Unix to do the same
thing: the two mechanisms are so close feature-wise you could write a
function to emulate Unix behavior on NT.  (I almost did, once, but got
side-tracked.)

I have an example in my Winsock Programmer's FAQ that illustrates this:

http://www.cyberport.com/~tangent/programming/winsock/examples/getifaces.html

Enjoy,
-- 
= 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.