lwip-users
[Top][All Lists]
Advanced

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

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


From: Yuxin Ren
Subject: [lwip-users] how to send fragmented data via TCP?
Date: Thu, 17 Dec 2015 00:30:28 +0800

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



reply via email to

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