Urvi wrote: >[..] > >But when I send 1 data packet of size=6 bytes (call tcp_write() and >then >tcp_output()) and next packet of size=45 bytes (call tcp_write() and >then >tcp_output()), then at server side it receives as a one single data >packet >of size=51 bytes; due to this my complete data packet becomes garbage >and I >got failure in communication. (this is just one packet example, but it >happens often). > > >How to solve this issue?
That's expected TCP behaviour, not an lwIP issue. Of you need datagrams strictly separated, use UDP. Regards, Simon _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users