lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] recv and sent callbacks usage


From: Kieran Mansley
Subject: Re: [lwip-users] recv and sent callbacks usage
Date: Thu, 11 Aug 2011 15:21:43 +0100

On Thu, 2011-08-11 at 22:10 +0800, narke wrote:
> 
> Thanks, understood.  If I used the TCP_WRITE_FLAG_COPY option, will
> the situation change?

If you set that flag then lwIP will copy the data so you are free to
modify it when the tcp_write() call returns, without waiting for the
sent callback.  The sent callback will happen at the same time as
before.

Kieran




reply via email to

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