Muhamed Fauzi Bin Abbas wrote:
> But if the data I want to transmit is larger then 64K, shouldnt the TCP
> part breaks it up to smaller chunks? Am I misunderstanding something?

Yes ;-).

When using the *raw* API, *you* have to break it up into chunks, ensuring
you are not writing more than 64k, and not more than the available space in
the TCP send buffer. You then use the tcp_sent callback to know when you
can write more.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to