UDP is "message based", you provide the whole payload and it will be
sent in a datagram.
TCP is "stream" based, data will be sent as it thinks it is best. As
long as you don't set TCP_WRITE_FLAG_COPY in apiflags, tcp_write() will
handle your data by building a PBUF_REF for each call and chaining it to
other pbufs waiting in line to be sent.

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

Reply via email to