Hi Benny,

Try studying the example programs for Reactor in the examples directory.
It looks to me like you have to make a winpcap handler class using
ACE_Event_Handler as a base class.   I have found ACE to be very useful.
Good luck. 

Robert Thornthwaite
Input/Output, Inc.

> 
> Hi,
> 
> I'm writing a cross platform application. I'm using ACE
> (www.cs.wustl.edu/~schmidt/ACE.html) as the framework. I need 
> to sniff packets and wanted to use winpacap for that. My 
> application process events from number of sources (file 
> descriptors and timers) using the reactor class. I've tried 
> to register the pcap file descriptor (i.e. pcap_fileno() ) 
> with the reactor, but without a success. I've read that this 
> function does not work on Win32 platforms (which is currently 
> my development env). Is there a way that I can get a file 
> descriptor to be used with the ACE reactor?
> 
> Tnx,
> 
> Benny


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