|Subject:||[lwip-users] Netconn API - receive check withput 1ms delay|
|Date:||Fri, 13 Jul 2012 13:52:31 +0200|
to receive data from some connections I use the netconn receive timeout to have nonblocking reception.
The bad side is, that the minimum setting of "aTimeout" is 1, which is always a 1ms wait. Setting it to 0 disables the timeout.
Checking 20 connections for data means also a delay of 20ms here. I want to avoid this delay, so what I'm looking for is a "check if there is data in LwIP for this connection, if not – return".
Is there any way doing this in LwIP 1.4.0?
|[Prev in Thread]||Current Thread||[Next in Thread]|