Re: FYI: MDNSd sample added
Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Sun, 17 Apr 2016 22:29:40 +0200
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Ole" == Ole Reinhardt <ole.reinhardt-L1vi/[email protected]> writes: Ole> Hi all, I just added a sample program to show the usage of the MDNS Ole> deamon in combination with a simple web service. Ole> You can find this sample in Ole> nut/app/mdnsd_uhttpd/ Ole> Unfortunately the MDNSd needs a little RAM (for caching the MDNS Ole> entries), so it won't run on boards with less than 16K free RAM. To keep the examples compiling, we need more fine-grained hints about availabe RAM provides by the board and RAM needed by the application. Ole> This sample announces itself as "ethernut.local" and the Webservice Ole> running on port 80. Ole> You can reach the webserver under the following URL: Ole> http://ethernut.local Ole> Multicast DNS works on Linux and OS/X, on Windows you might need to Ole> install the Apple Bonjour service. At least on older Windows Ole> versions. I do not know, if Windows 10 supports Multicast DNS Ole> natively. Please test with other configs. But probably the implicit declaration also happenes on your target config too: sam7eth ..mdnsd_uhttp.c: In function 'main': mdnsd_uhttp.c:136:5: warning: implicit declaration of function 'HttpRegisterRedir' [-Wimplicit-function-declaration] HttpRegisterRedir("", "/index.html", 301); ^ sam7eth done And thanks for the example! -- Uwe Bonnes bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion