[Winpcap-users] select()

Jonathan Hunt jgwehunt at gmail.com
Thu Feb 8 08:13:27 GMT 2007


Gianluca

Many thanks, I'll give it a try.

Take care

Jonathan

On 7 Feb 2007, at 23:45, Gianluca Varenni wrote:

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