lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Will a TCP stream fail or be halted?


From: Per Strand
Subject: [lwip-users] Will a TCP stream fail or be halted?
Date: Thu, 16 Dec 2004 12:39:42 +0100

Hi,

I've haven't started to implement the lwIP stack yet but I already got
one question.

The memory capacity in my embedded device will be limited and if I
assume correct lwIP relies on malloc() (and some other block oriented
alloc function?) for buffering a "TCP stream" onto the lwIP stack.

What happens if I cannot 'consume' the TCP stream at the same speed as
it's is received. What will happen?
Will there be an error, or will the malloc() fail result in that the
stream is halted until there there is enough free memory on the heap?

/Beach




reply via email to

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