UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/

Revision:
10:cd62b2205c2a
Parent:
9:312e0937630f
Child:
19:e416943f7119
--- a/UIPUdp.h	Thu Dec 29 10:41:59 2016 +0000
+++ b/UIPUdp.h	Thu Dec 29 11:18:05 2016 +0000
@@ -48,7 +48,12 @@
   bool send;
 } uip_udp_userdata_t;
  
-class UIPUDP : public Print, public UDP {
+#if defined(ARDUINO)
+  class UIPUDP : public UDP {
+#endif
+#if defined(__MBED__)
+  class UIPUDP : public Print, public UDP {
+#endif
 private:
   struct uip_udp_conn *_uip_udp_conn;