[Top][All Lists]

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

Re: [lwip-users] Issues with netconn callbacks

From: Davide Bettio
Subject: Re: [lwip-users] Issues with netconn callbacks
Date: Tue, 3 Dec 2019 18:27:05 +0100


Il giorno lun 2 dic 2019 alle ore 21:26 address@hidden <address@hidden> ha scritto:
So you're running the stock lwIP that comes with ESP32? If so, I don't
know how "vanilla" this is and how they keep their copy of lwIP up to

I checked the source. Anyway it is not vanilla, and moreover it is a quite old version, so recv ignores the nonblocking flag.

> - Is it possible to check if any byte is already in the buffer ready to
> be received?

Yes, you can use nonblocking receive. Again, see sockets.c if you need
an example.

As I said before there is no nonblocking receive. Are you aware of any other way to check if data is ready to be received or not?
Davide Bettio.

reply via email to

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