diff --git a/cores/arduino/NetClient.h b/cores/arduino/NetClient.h index d8df914..ea64664 100644 --- a/cores/arduino/NetClient.h +++ b/cores/arduino/NetClient.h @@ -20,8 +20,6 @@ public: virtual void flush() = 0; virtual void stop() = 0; virtual uint8_t connected() = 0; - virtual uint8_t operator==(int) = 0; - virtual uint8_t operator!=(int) = 0; virtual operator bool() = 0; }; diff --git a/cores/arduino/NetServer.h b/cores/arduino/NetServer.h new file mode 100644 index 0000000..91f4848 --- /dev/null +++ b/cores/arduino/NetServer.h @@ -0,0 +1,11 @@ +#ifndef netserver_h +#define netserver_h + +class NetClient; + +class NetServer { +public: + virtual void begin() =0; +}; + +#endif