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:
18:904e3130a30c
--- a/UIPClient.h	Thu Dec 29 10:41:59 2016 +0000
+++ b/UIPClient.h	Thu Dec 29 11:18:05 2016 +0000
@@ -67,7 +67,12 @@
 #endif
 } uip_userdata_t;
 
-class UIPClient : public Print, public Client {
+#if defined(ARDUINO)
+  class UIPClient : public Client {
+#endif
+#if defined(__MBED__)
+  class UIPClient : public Print, public Client {
+#endif
 public:
   UIPClient();
   virtual int connect(IPAddress ip, uint16_t port);