lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #51531] getsockopt/SO_ERROR not returning value stored


From: David van Moolenbroek
Subject: [lwip-devel] [bug #51531] getsockopt/SO_ERROR not returning value stored in errno
Date: Fri, 21 Jul 2017 19:20:29 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #1, bug #51531 (project lwip):

What you're describing is expected behavior. Once an error has made it into
'errno', ht will not be available through SO_ERROR anymore. SO_ERROR is
effectively only to be used for cases where there was no possibility to move
the error code into 'errno'. As such, your application logic will not work on
other POSIX-compliant systems either.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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