lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20155] select() with errorfd set


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20155] select() with errorfd set
Date: Thu, 28 Jun 2007 10:58:29 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #3, bug #20155 (project lwip):

Can we collect a list of which events should lead to setting the error fd
set?

- tcp_pcb->err() is called
- connect failed?
- I can not think about udp or raw errors...

http://www.opengroup.org/onlinepubs/000095399/functions/select.html says: 
"A socket shall be considered to have an exceptional condition pending if a
receive operation with O_NONBLOCK clear for the open file description and
with the MSG_OOB flag set would return out-of-band data without blocking. (It
is protocol-specific whether the MSG_OOB flag would be used to read
out-of-band data.) A socket shall also be considered to have an exceptional
condition pending if an out-of-band data mark is present in the receive
queue. Other circumstances under which a socket may be considered to have an
exceptional condition pending are protocol-specific and
implementation-defined."

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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