Re: FW: Combining winpcap packet wait with poll/select in cygwin

2007-12-20 Thread Christopher Faylor
On Thu, Dec 20, 2007 at 04:04:11PM -0800, S A wrote: >Hi Brian > >Finally got a change to try this (sorry it tooks so long). It looks like it >does NOT work. > >The fd returned from cygwin_attach_handle_to_fd() always returns >from the poll call with a POLLIN event even though no packets >are flo

FW: Combining winpcap packet wait with poll/select in cygwin

2007-12-20 Thread S A
Hi Brian Finally got a change to try this (sorry it tooks so long). It looks like it does NOT work. The fd returned from cygwin_attach_handle_to_fd() always returns from the poll call with a POLLIN event even though no packets are flowing on the network (and hence there should be no pcap packe

Re: FW: Combining winpcap packet wait with poll/select in cygwin

2007-12-14 Thread Brian Ford
On Thu, 13 Dec 2007, S A wrote: > Summary: Has anyone tried to have events (POLL_IN/POLL_OUT) on regular > fd descriptors combined with winpcap packet receive handles > incorporated into the same sleep event (i.e. poll/select)? No, I haven't tried because it looked too fragile i

FW: Combining winpcap packet wait with poll/select in cygwin

2007-12-13 Thread S A
Hi all (I've tried this question on the winpcap-users list already with no luck). Summary: Has anyone tried to have events (POLL_IN/POLL_OUT) on regular fd descriptors combined with winpcap packet receive handles incorporated into the same sleep event (i.e. poll