Ethereal-dev: Re: [ethereal-dev] SIOCGIFCONF

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

From: Warren Young <warren@xxxxxxxxxxx>
Date: Thu, 07 Sep 2000 12:45:08 -0600
Guy Harris wrote:
> 
> > Or, there's the
> > harder-to-use GetIfEntry(), which works on those two platforms, and on
> > WinNT 4 SP4+ as well.
> 
> ...which doesn't help on W95 or NT 4.0 prior to SP4.

I don't see any problem with having lesser functionality on older
platforms.  That doesn't mean Ethereal _fails to run_ on those older
platforms, just that it isn't as easy to use as on newer platforms.  You
don't have to link to iphlpapi.lib, just do the
LoadLibrary()/GetProcAddress() thing on iphlpapi.dll.  If you can load
the library and GetIfEntry() is present, call it.  If not, you haven't
lost anything.
-- 
= Warren Young, maintainer of the Winsock Programmer's FAQ at:
=     http://www.cyberport.com/~tangent/programming/winsock/
= 
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m