lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_write() keeps returning ERR_MEM indefinitely once t


From: Kieran Mansley
Subject: Re: [lwip-users] tcp_write() keeps returning ERR_MEM indefinitely once the buffer is filled
Date: Thu, 03 Jun 2010 09:39:44 +0100

On Wed, 2010-06-02 at 21:13 -0400, Kentaro Yamamoto wrote:
> Hi all,
> 
> I am trying to transfer a large amount of data from a microcontroller
> via TCP/IP.  What I do is to keep executing tcp_write() until it
> returns ERR_MEM.  The problem is that once tcp_write() returns
> ERR_MEM, it keeps returning ERR_MEM no matter how long I wait..  Am I
> missing something?  I am using lwip 1.3.1.

Do you also have a call to tcp_output()?  tcp_write() will only queue
the packets, tcp_output() will get them going onto the wire.

Kieran




reply via email to

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