aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/NetClient.h2
-rw-r--r--cores/arduino/NetServer.h11
2 files changed, 11 insertions, 2 deletions
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