Nick Manoleras wrote:
As part of a monitoring App, I am using a program based on iflist.c to return details of all interfaces in a machine. I encounter a problem on windows 98 machines that have been allocated an address via DHCP. They return an IP address of 0.0.0.0. (XP & DHCP works OK). I suspect this is a more a microsoft problem than Winpcap.
I vaguely remember seeing something (I forget whether it was on the WinPcap list or somewhere else) indicating that Windows 9x put IP addresses obtained via DHCP somewhere other than where it puts statically-assigned IP addresses. It might be that WinPcap doesn't know where to look for the DHCP addresses, or that it's using a routine in Windows 9x that doesn't know where to look for them.
As Gianluca Varenni noted, the WinPcap developers have limited resources and are devoting those resources to the development of WinPcap on modern versions of Windows (i.e., on Windows NT, primarily NT 5.x a/k/a W2K, WXP, and WS2K3, rather than "Windows OT", i.e. 95/98/Me). Perhaps it's possible to do the right thing to get IP addresses on Windows OT, even for interfaces where the address comes from DHCP, but you'd probably have to wait for somebody to develop the code to do that and contribute it to the WinPcap developers. (I can't say whether they'd adopt that code - there might be a risk of breaking something else if it's adopted.)
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
