Try to increase the size of the buffer provided to PacketGetAdapterNames().
Moreover, note that under Win32 pcap_lookupdev() is a wrapper of
PacketGetAdapterNames(), so it returns all the adapters plus their
descriptions, not only the first one.

Loris

>
> I use winpcap2.3 on win2k, the PacketGetAdapterNames(PTSTR pStr, PULONG
BufferSize) function don't ' returns the names of the adapters installed on
the system in the user allocated buffer pStr. I installed an earlier version
of winpcap, but the same problem. I can't use  pcap_lookupdev() because I've
several NICs.
>
> can you help me?
>
>
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Sign-up for Video Highlights of 2002 FIFA World Cup

Reply via email to