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/
Diff: UIPServer.h
- Revision:
- 10:cd62b2205c2a
- Parent:
- 9:312e0937630f
- Child:
- 19:e416943f7119
--- a/UIPServer.h Thu Dec 29 10:41:59 2016 +0000 +++ b/UIPServer.h Thu Dec 29 11:18:05 2016 +0000 @@ -30,7 +30,12 @@ #endif #include "UIPClient.h" -class UIPServer : public Print, public Server { +#if defined(ARDUINO) + class UIPServer : public Server { +#endif +#if defined(__MBED__) + class UIPServer : public Print, public Server { +#endif public: UIPServer(uint16_t); UIPClient available();