[Winpcap-users] select()

Gianluca Varenni gianluca.varenni at cacetech.com
Wed Feb 7 23:45:18 GMT 2007


Jonathan,

you need to call pcap_getevent() and obtain a HANDLE you can wait on with 
WaitForSingleObject or WaitForMultipleObjects().

You cannot obtain a file descriptor and use a select() on windows.

Have a nice day
GV

----- Original Message ----- 
From: "Jonathan Hunt" <jgwehunt at gmail.com>
To: <winpcap-users at winpcap.org>
Sent: Wednesday, February 07, 2007 3:19 PM
Subject: [Winpcap-users] select()


> Here's a quick question:
>
> Using WinPcap 4, is it possible to call select() or poll() or  something 
> to that effect to tell me when there is data to be read on  a pcap 
> "socket"?
>
> Many thanks
>
> Jonathan
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list