lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #9455] The sockets API does not correctly inform a pro


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #9455] The sockets API does not correctly inform a process that a RST has been received
Date: Tue, 17 Apr 2007 13:26:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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

(I'm referring to the explanation given in
http://www.opengroup.org/onlinepubs/000095399/functions/send.html)

Since we can't close a connection for writing only (can we?), I think both
error codes (ECONNRESET and EPIPE) are correct. So it's up to us to decide
which one we want to use. Since ERR_RST is only used with tcp, defining
ERR_RST to EPIPE should do the trick. (Or is EPIPE also returned to UDP
sockets when an icmp-packet 'dest unreachable' was received for that udp
port? I don't think we support that).

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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