|Subject:||Re: [lwip-users] TCP write won't work after netconn_recv timeout|
|Date:||Thu, 08 Oct 2009 15:28:24 +0200|
|User-agent:||Thunderbird 184.108.40.206 (Windows/20090812)|
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 ... ;-)
Kieran Mansley schrieb:
What version of lwIP are you using? I have a vague recollection of a bug in an earlier version that resulted in a timeout error being treated as fatal.
|[Prev in Thread]||Current Thread||[Next in Thread]|