[Winpcap-users] packet redirection
Ben Greear
greearb at candelatech.com
Wed Sep 14 04:09:09 GMT 2005
Guy Harris wrote:
>
> On Sep 13, 2005, at 7:43 PM, Ben Greear wrote:
>
>> Allow one to select on a file descriptor that is somehow tied to
>> the rx input of the capture tap.
>
>
> What's "select()", and what's a "file descriptor()"? :-)
>
> You can, as far as I know, use APIs such as WaitForMultipleEvents() on
> the HANDLE returned by pcap_getevent(). If you want to use select ()
> and file descriptors, you might have to try a different OS. :-)
> Several of those OSes even support pcap_setdirection()....
I've ported my Linux app to Windows...fairly easy to do with mingw, but
to convert all of my working file-descriptor based stuff to windows handles,
just to support winpcap, is not something I can really do....
And I'm well aware of the joys of a good unix environ, but not all
of my users are so lucky!
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Winpcap-users
mailing list