[Top][All Lists]

[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/ Safari/530.5


                 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



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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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