Loading ...
Sorry, an error occurred while loading the content.

RE: [nslu2-linux] Time taken to flash?

Expand Messages
  • John Bowler
    From: Richard Tobin ... 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),
    Message 1 of 13 , Nov 29, 2005
    • 0 Attachment
      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@...>
    Your message has been successfully submitted and would be delivered to recipients shortly.