[Winpcap-users] Detecting TCP/IP for a NIC

Peter Hegel peter.hegel at doli.de
Fri Jan 25 16:17:44 GMT 2008

Hi All

I'm trying to detect if TCP/IP protocol is installed for a NIC under WinXP/Vista.

Using PacketGetNetInfoEx and checking ss_family for AF_INET does work most times. But on some laptops PacketGetNetInfoEx reports ss_family equal to AF_INET, even if TCP/IP is unchecked in the Connection Properties of the NIC.

Is there another way to figure out if a NIC has TCP/IP enabled?

Help appreciated!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080125/c9c3b40b/attachment.htm

More information about the Winpcap-users mailing list