lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Handle received data only partial


From: address@hidden
Subject: Re: [lwip-users] Handle received data only partial
Date: Fri, 8 Sep 2017 22:01:12 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Paul Plankton wrote:
My problem: I'm running on an embedded system where I can't waste too much time with handling network data.

This and the statement about handling "1460 bytes during one interrupt call" is somewhat disturbing. Are you sure you don't violate lwIP's threading requirements?

Also, Embedded and "too much time" is not really good phrasing. Either you need realtime or you need TCP ;-)

[..]
My question: is there a possibility to do one of both? If yes - how can this be done?

No. The only thing I can think of is: don't use TCP if you want a message-oriented protocol. Use UDP instead! TCP is about data streams, not about telegrams.

If you're stuck to TCP and still want it your way, you'll have to implement the buffering at your application layer. There's no code in the core stack that does this for you.

Simon



reply via email to

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