|
From: | Dinesh Pandey |
Subject: | Re: [lwip-users] how to send fragmented data via TCP? |
Date: | Thu, 17 Dec 2015 22:01:27 +0530 |
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
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |