[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] tcp_write()
From: |
Chris Borrelli |
Subject: |
[lwip-users] [lwip] tcp_write() |
Date: |
Thu, 09 Jan 2003 01:39:54 -0000 |
Probing for help...
I am using the raw function based api of lwIP with no OS...
I have a chain of pbufs that I want to write out over TCP... From what I
can see, if I want to avoid a data copy, I have to call tcp_write for
every pbuf in the chain... This will generate a tcp segment for each
pbuf (only 128 bytes I think). Is this correct?
// I want to do this:
tcp_write(pcb, p, size, 0);
// where size is the sum of the p->payload data fields for the entire
chain.
Can I do this? or does the data have to be in a contiguous buffer when
the 'copy' parameter is set to 0 (zero)??
Thanks for any comments/help...
-Chris
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] tcp_write(),
Chris Borrelli <=