I'm having problem with the PacketGetNetType() function of Packet.dll. I realize this isn't part of the WinPCap libs, but at least WinPCap depends on them.

I call PacketGetNetType() and the LinkSpeed is ALWAYS
100000000 (100 mbps), which isn't true. I've tried these on
several machines, 1 with 100 mbps, 1 with 10 mbps card and
1 with a WLAN card (11 mbps). They all report 100 mbps.

Am I doing something wrong or is this a known bug in the packet
routine?

Also, I would like to know if this routine is cached anyway? I want
to use it to graph the linkspeed of my WLAN card where the speed
varies, so if I call PacketGetNetType(), will I have to "re-open" the
pcap object before each call? I was thinking maybe the linkspeed was
simply put into a private variable at init and then simply returned from
that when you call PacketGetNetType()

Any help is appreciated, thanks in advance!



==================================================================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/

To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to