Ethereal-dev: [Ethereal-dev] COM Wrapper for Packet.dll

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Fiach Reid" <fiachreid@xxxxxxxxxxx>
Date: Fri, 28 Dec 2001 18:15:33 +0000
Hi all,

Hope you all had a happy christmas. - If there is anybody on this list interested in doing VB or VC++ development with WinPCap, I've
put together a COM wrapper for Packet.dll which should be of use.
It's similar to PacketX from beesync but it's got a few performance problems which I would like to sort out.

   Anybody who is interested is welcome to the code, as long as it
isn't released into the public domain - yet.

   Specifically, when I call PacketReceivePacket in async mode,
every 1ms (or as quickly as the windows clock permits). It misses
'slow' traffic such as pings. Calling it evey 100ms catches this, but as far as I know the BPF buffer can only hold 10 packets, and It
would quickly overflow. Has anybody ever seen this problem before?

   Another thing, has anybody got access to a Windows 2000 machine?,
I think the adapter names are in Unicode, which screws up my program with general protection faults etc.

Once again, please cc replies to my real email address (fiachreid@xxxxxxxxxxx), or they'll end up in my junk folder.

   Regards.
   Fiach Reid.

www.webtropy.com

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com