lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Transfer Mibs of data over TCP


From: Sylvain Rochet
Subject: Re: [lwip-users] Transfer Mibs of data over TCP
Date: Tue, 4 Apr 2017 16:37:49 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

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


reply via email to

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