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:
8:b9332109461d
Parent:
7:ef1f092165eb
Child:
9:312e0937630f
--- a/UIPClient.h	Wed Dec 28 13:02:52 2016 +0000
+++ b/UIPClient.h	Wed Dec 28 15:56:02 2016 +0000
@@ -67,7 +67,11 @@
 #endif
 } uip_userdata_t;
 
-class UIPClient : public Client {
+#if defined(__MBED__)
+  class UIPClient : public Print, public Client {
+#else    
+  class UIPClient : public Client {
+#endif
 
 public:
   UIPClient();
@@ -87,9 +91,9 @@
   virtual int peek();
   virtual void flush();
 
-  //#if defined(ARDUINO)
-     using Print::write;
-  //#endif
+//#if defined(ARDUINO)
+  using Print::write;
+//#endif
 
 private:
   UIPClient(struct uip_conn *_conn);