Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7742

SDK • Re: TCP echo server, "accept failed", reference good example needed

$
0
0
pbuf_free() is some kind of garbage collector ?
No, it's a simple alloc/free mechanism, but the allocation in LWIP comes from pools of fixed-size buffers - avoiding fragmentation, and (hopefully) managing low-memory situations better, as the protocol machines should be able to handle a short-term shortage of buffers (by dropping packets) whereas the overall system heap running out is often fatal.

Statistics: Posted by arg001 — Wed Apr 16, 2025 4:26 pm



Viewing all articles
Browse latest Browse all 7742

Latest Images

Trending Articles



Latest Images