lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP write won't work after netconn_recv timeout


From: Kieran Mansley
Subject: Re: [lwip-users] TCP write won't work after netconn_recv timeout
Date: Thu, 08 Oct 2009 14:39:14 +0100

On Thu, 2009-10-08 at 15:28 +0200, Marco Jakobs wrote:
> Hi Kieran,
> 
> i'm using 1.3.0 with Free RTOS on an AT91SAM7X512.
> 
> My "basic idea" for the final solution is that LWIP should have
> incoming data in its buffers. With this, if i call
> 
>   tgtxcon->recv_timeout=1;    // Timeout setzen
>   txbuf=netconn_recv(tgtxcon);    //Daten empfangen
> 
> every 20ms, it should "grap" data for my TCP connection out of its
> buffer to my "txbuf". Do you think this should work?
> 
> But first, the problem that "write" won't work after a timeout of the
> receive function must be solved ... ;-)

Upgrading to 1.3.1 will help.  Here is the CVS commit that fixed this
problem:

http://cvs.savannah.gnu.org/viewvc/lwip/src/include/lwip/err.h?root=lwip&r1=1.13&r2=1.14

Kieran





reply via email to

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