Hi all,
Since 4 weeks I've been doing my own experience of Winpcap (Its exported
functions) and Packet32.h (Its routines). I am working with a self-programmed
sniffer tool that was developped under Windows NT 4.0 with VC 6 as an MFC
project. The sniffer tool used since then packet32.h (but not the version that
is provided when downloading the developper's pack on the official site of
Winpcap). As you can imagine, this sniffer tool coupled with such system of
capture is incompatible, thus not working anymore under windows XP. Therefore,
I tried to update the tool under VC 6 buy emmbedding exported functions of
wpcap.dll in the script. So far, all was ok since I am able to list devices on
the local machine, open a device, print the packets and their contents.

My problem is now the following. The former part of the script accessing the
adapter, was calling 'PacketopenAdapter'. This returns a pointer on an object of
type structure LPPACKET. This object was reused to store packets in a buffer so
that the program could assess them afterwards (PacketSendPacket or
PacketReceivePacket were taking the object as argument). Now, I access the
adapter via Pcap_open and it returns a pointer on an object of type structure
pcap_t. Is there any compatiblity between what is returned by Pcap_open and what
is returned by PacketOpenAdapter?

Any help will be mostly appreciated,

Regards,

Filip.


==================================================================
 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