[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Free LwIP resources
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Free LwIP resources |
Date: |
Thu, 08 Sep 2011 18:27:46 +0200 |
AMSN <address@hidden> wrote:
> I need to start/stop the whole demo (web server + TCP/IP stack).
lwIP does not support shutting down: you would need to free all memory, reset
all (global) variables to default values *and* at the same time make sure none
of it is referenced by applications using lwIP. This is currently not supported.
However, if you wanted to implement this on your own, you could stop threads,
free mbox/sems in your port and stop your application at the same time. The
hardest part will be to reset all global lwIP variables to their default
values, though...
Simon
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone