lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] how to send fragmented data via TCP?


From: JZarnow
Subject: Re: [lwip-users] how to send fragmented data via TCP?
Date: Thu, 17 Dec 2015 19:26:53 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Ewa,

Po co przysłałaś nam rzut kuchni z odstawioną lodówką?
Wywal je po prostu...

J.

-----Original Message-----
Shouldn't be a problem. Just call tcp_write with the buffer pointer and size 
and LWIP will
take care of the rest.


On Wed, Dec 16, 2015 at 10:00 PM, Yuxin Ren <address@hidden
<mailto:address@hidden>> wrote:

    Hi,

    I am using lwip raw API.
    I want to send TCP packet without copy.
    In my case, my application generates the TCP payload, but the payload
    is fragmented.
    For example, it generates http header and http data, but the header
    and data are not continuous in memory.
    Can I send such payload as a pbuf chain via TCP?
    Or is there any other method to achieve this?

    I think in UDP, this is simple.
    As udp_send receives pbuf pointer as an argument, the application can
    construct the pbuf chain and pass it to udp_send.

    Thanks a lot.
    Yuxin

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




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





reply via email to

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