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: narke
Subject: Re: [lwip-users] recv and sent callbacks usage
Date: Thu, 11 Aug 2011 23:07:36 +0800

On 11 August 2011 22:21, Kieran Mansley <address@hidden> wrote:
> 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
>

Understood.  Many thanks for you clarifying this!

>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

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