What is the proper way to close a connection and free all resources, namely
pbufs, associated with it? In my application, I have to use tcp_abort to end
the connection. (I do indeed have to send a RST; Winamp does the same thing
with streaming audio and I'm emulating that).
I can connect to to a host and receive data fine, but when I end that
connection and initiate a different connection, my debug output occasionally
indicates I'm out of MEMP_POOL. However, if I reset the micro and connect to
any host, I do not get any out of memory errors. This tells me one or more
pbufs are not being freed when I end a connection. Is there a way to free all
pbufs, or check which ones are being used?
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users