|
From: | CHASE CHENG |
Subject: | Re: [lwip-users] lwip-users Digest, Vol 163, Issue 44 |
Date: | Tue, 28 Mar 2017 10:41:31 +0800 |
Send lwip-users mailing list submissions to
address@hidden
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
address@hidden
You can reach the person managing the list at
address@hidden
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 <address@hidden>
To: address@hidden
Subject: [lwip-users] lwip_accept error handling return wrong value in
lwip 1.4.1
Message-ID:
<CADT1G-VpezyqYbXrGUm8h9G0UzRnGef9Jm_ address@hidden >
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" <address@hidden>
To: address@hidden
Subject: Re: [lwip-users] lwip_accept error handling return wrong
value in lwip 1.4.1
Message-ID:
<trinity-c5990aee-28c2-4195-9bd8-454864d0a40f- address@hidden>
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
------------------------------
End of lwip-users Digest, Vol 163, Issue 44
*******************************************
[Prev in Thread] | Current Thread | [Next in Thread] |