Httpdを非同期で動かすサンプル
Dependencies: NyFileSystems libMiMic mbed-rtos mbed
Fork of MiMicSimpleHttpd by
Diff: main.cpp
- Revision:
- 10:491f72aec01f
- Parent:
- 9:c6427be12f0d
--- a/main.cpp Sat Nov 16 01:25:37 2013 +0000 +++ b/main.cpp Tue Sep 15 09:36:41 2015 +0000 @@ -43,11 +43,12 @@ } }; - + MiMicNetIf netif; NetConfig cfg; //create network configulation int main() { - Net net; //create a net instance. + Net net(netif);//Net constructor must be created after started RTOS + //try to override setting by local file. cfg.loadFromFile("/local/mimic.cfg");