Ben,
Ben Greear wrote:
First, I was able to get bridging working on my XP box with the npf.sys file that someone sent me. (I tried to thank them in person, but email to their address bounces.)
I am having to poll the pcap_t device since I need to select on other file descriptors & sockets, and I can't seem to select() on anything that winpcap offers....
I think you can use pcap_getevent() to wait with WaitForSingleObject() or WaitForMultipleObjects(). See http://winpcap.polito.it/docs/docs31beta4/html/group__wpcapfunc.html#ga37.
Right, but I _also_ need to select on other tcp sockets. It seems there is nothing in Windows that will select/wait on both at the same time.
One alternative is for me to create a separate thread or process, but I'd rather not do that as it complicates things...
Next, I tried to get the winpcap (3.1-beta4) installed on a win2k box.
The install seemed to work OK, but when I try to start my application,
I get an error about being unable to load the packet library. I even coppied
the packet.dll to current-working-directory and it still would not load it.
windump -d does work on this system, so it is probably something I'm doing
wrong with my application. (However, my application works just fine on XP...)
Did you try to recompile your application against 3.1b4?
Yes, I have always compiled against it. I am wondering though: Should I link against different libpacket.a files when compiling for different windows targets?
Thanks, Ben
-- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
