|
From: | hanhui |
Subject: | [lwip-devel] [bug #43110] call getpeername() before listen() will cause a error. |
Date: | Wed, 03 Sep 2014 13:20:10 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36 |
Follow-up Comment #4, bug #43110 (project lwip): Simon please see netconn_accept() This function first check fatal error: err = conn->last_err; if (ERR_IS_FATAL(err)) { /* don't recv on fatal errors: this might block the application task waiting on acceptmbox forever! */ return err; } because getpeername() set this err = ERR_CONN; listen() is OK now, bug netconn_accept will fail. Han.hui _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?43110> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |