Bonjour/Zerconf library

Dependencies:   mbed

Revision:
2:816cbd922d3e
Parent:
0:355018f44c9f
--- a/netCfg.h	Thu Jul 22 00:08:38 2010 +0000
+++ b/netCfg.h	Sat Jul 24 20:59:52 2010 +0000
@@ -1,12 +1,21 @@
-#ifndef NET_CFG_H
-#define NET_TELIT_STACK 0
-#define NET_GPRS 0
-#define NET_PPP 0
-#define NET_ZG2100 0
-#define NET_ETH 1
-#define NET_USB_SERIAL 0
-#define NET_TELIT 0
-#define NET_CFG_H 0
-#define NET_USB 0
-#define NET_LWIP_STACK 1
-#endif
+#ifndef NET_CFG_H
+#define NET_TELIT_STACK 0
+#define NET_GPRS 0
+#define NET_PPP 0
+#define NET_ZG2100 0
+#define NET_ETH 1
+#define NET_USB_SERIAL 0
+#define NET_TELIT 0
+#define NET_CFG_H 0
+#define NET_USB 0
+#define NET_LWIP_STACK 1
+
+// Enable Multicast on above IP stack(s).
+//
+#ifndef LWIP_RAND
+#include "mbed.h"
+#define LWIP_RAND() rand()
+#endif
+#define LWIP_IGMP 1
+
+#endif