[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip_accept error handling return wrong value in lwip 1
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] lwip_accept error handling return wrong value in lwip 1.4.1 |
Date: |
Mon, 27 Mar 2017 14:59:31 +0200 |
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