Hi Simon. I read 2.0 already take off the related code, I just want to make sure that I didn't misunderstand your design. Thanks for your time. Chase
2017-03-28 0:00 GMT+08:00 <[email protected]>: > Send lwip-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.nongnu.org/mailman/listinfo/lwip-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lwip-users digest..." > > > Today's Topics: > > 1. lwip_accept error handling return wrong value in lwip 1.4.1 > (CHASE CHENG) > 2. Re: lwip_accept error handling return wrong value in lwip > 1.4.1 (Simon Goldschmidt) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 27 Mar 2017 17:46:19 +0800 > From: CHASE CHENG <[email protected]> > To: [email protected] > Subject: [lwip-users] lwip_accept error handling return wrong value in > lwip 1.4.1 > Message-ID: > <CADT1G-VpezyqYbXrGUm8h9G0UzRnGef9Jm_ > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi all, > > Based on lwip 1.4.1, function lwip_accept (api/sockets.c line 342) > return EOPNOTSUPP; > I think this line should return -1, since this function return socket > number but error status. > please tell me if I am right. thank you. > > Regards, > Chase > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.nongnu.org/archive/html/lwip-users/ > attachments/20170327/4f6de8ca/attachment.html> > > ------------------------------ > > Message: 2 > Date: Mon, 27 Mar 2017 14:59:31 +0200 > From: "Simon Goldschmidt" <[email protected]> > To: [email protected] > Subject: Re: [lwip-users] lwip_accept error handling return wrong > value in lwip 1.4.1 > Message-ID: > <trinity-c5990aee-28c2-4195-9bd8-454864d0a40f- > 1490619571104@3capp-gmx-bs10> > > Content-Type: text/plain; charset=UTF-8 > > CHASE CHENG wrote: > > Based on lwip 1.4.1, function lwip_accept ?(api/sockets.c line 342) > > return EOPNOTSUPP;? > > I think this line should return -1, since this function return socket > number but error status. > > please tell me if I am right. thank you. > > Yes, you're right. But 1.4.1 is more than six years old now and this bug > has already been fixed in the meantime. > > Simon > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users > > ------------------------------ > > End of lwip-users Digest, Vol 163, Issue 44 > ******************************************* >
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
