lwip-users
[Top][All Lists]
Advanced

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

Re: Re: Re: Re: [lwip-users] Re: tx badnwidth


From: Kieran Mansley
Subject: Re: Re: Re: Re: [lwip-users] Re: tx badnwidth
Date: Fri, 06 Mar 2009 09:10:00 +0000

On Thu, 2009-03-05 at 16:04 -0500, Chen wrote:
> OK, I track deeper in the source
> 
> The reason lwip_recv still blocks even the flag says NOWAIT is because
> thatsock->rcveventis Non-zero. Yet, at this point, all incoming TCP
> packets have been received, the only extra packets are those tcp
> window updating packets, which should not increase the rcvevent for
> TCP connection. 
> 
> Since sock->rcveventis not zero, lwip_recv calls netconn_recv to fetch
> the data, yet, there is no data, so it waits there until connection is
> closed or something comes in.
> 
> I believe lwIP has a problem here

I'm not sure I understand the problem here.  Are you saying that you're
trying to do a non-blocking receive, but lwIP blocks in some cases, and
because of this your application gets stuck?

Kieran





reply via email to

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