Flavio Gobber wrote:
I need to implement a server which need to receive message large more than the length of 1400 bytes. What I see if the recv function return only a length of 1464 bytes, I can repeat the the recv function before to parse the message, but how can understand that the message is ended. This because the message doesn't have the length information and the length could change between a message and the Others.

TCP does not help you here: it is stream based. Anything required on top is an application level protocol. Chose an existing one or create your own.

Simon

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

Reply via email to