lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #27116] select() does not appear to work with timeval


From: Cathal
Subject: [lwip-devel] [bug #27116] select() does not appear to work with timeval of 0
Date: Mon, 27 Jul 2009 08:22:18 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.37 Safari/530.5

URL:
  <http://savannah.nongnu.org/bugs/?27116>

                 Summary: select() does not appear to work with timeval of 0
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: cobroin
            Submitted on: Mon 27 Jul 2009 08:22:16 AM GMT
                Category: sockets
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.1.1

    _______________________________________________________

Details:

when a timeval structure has tv_sec and tv_usec set to 0 and then is passed
as the fifth argument for select() any fd_set structure also passed is always
all set to 0, and 0 is always returned.

When a non-zero value is used for tv_usec such as 500 the select() function
behaves as expected.

I am using the Analog Devices port of the lwip stack which does not appear to
provide any reasonable way to debug or alter the stack.

Does this issue exist for others on 1.1.1 and does it exist on later
revisions?




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27116>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]