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: Marco Jakobs
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 2.0.0.23 (Windows/20090812)

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 ... ;-)

Marco


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.


  

reply via email to

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