RE: [nslu2-linux] Time taken to flash?
- From: Richard Tobin
>But removing the call to pcap_setnonblock fixes it!There's still a logic error in my code somewhere. The first pcap_dispatch
returns 0 because there is no packet (in non-blocking mode), the timeout
is 0, the Receive call returns with size=0 and then the calling logic must
be going wrong. It *should* just call Receive again (maybe after doing
something) with a non-0 timeout, but I think it isn't doing that.
John Bowler <jbowler@...>