Hi,

On Mon, Apr 03, 2017 at 09:38:34PM +0000, Noam Weissman wrote:
> 
> Sorry I meant netconn_recv etc...

This is still very ugly (and wrong for my point of view on perfect 
software).

Waiting for something to happen for a given time should be achieved 
using the LWIP_SO_RCVTIMEO feature.

If netconn_recv aborts with ERR_MEM or any other fatal error means you 
have a more serious issue about your overall software design. Retrying 
over and over only hides the real issue.

Sylvain

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to