On Thu, Jun 12, 2003 at 01:57:09PM +0200, Loris Degioanni wrote: > The driver at the moment doesn't provide any means to obtain the version > number. Probably, an IOCTL could be added for this purpose. I underline the > fact that no one that uses the winpcap installer will be able to have > mismatching versions of NPF/packet.dll.
Yes - the reason an ioctl of that sort might be useful is to catch people getting mismatched versions because they didn't just use the WinPcap installer, but also installed files by hand. Given that there's no guarantee that mismatched versions work, perhaps the correct behavior is for the open routines to return a "mismatched versions" error string if you try to open a device and the versions of packet.dll and NPF aren't the same. (You could also have the WinPcap open routines check the version of wpcap.dll and packet.dll, and return errors if *they're* not the same, if mismatched versions of those aren't guaranteed to work, either.) ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
