lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Socket recv of large message.


From: address@hidden
Subject: Re: [lwip-users] Socket recv of large message.
Date: Tue, 3 Oct 2017 14:51:38 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]