From 528e95b14d333f7391f9baffc98a9f9362bde130 Mon Sep 17 00:00:00 2001 From: amcewen Date: Sun, 28 Aug 2011 22:26:07 +0100 Subject: Final changes to integrate latest core updates to WiFly branch --- cores/arduino/NetClient.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cores/arduino') diff --git a/cores/arduino/NetClient.h b/cores/arduino/NetClient.h index ea64664..35bfa0a 100644 --- a/cores/arduino/NetClient.h +++ b/cores/arduino/NetClient.h @@ -1,6 +1,5 @@ #ifndef netclient_h #define netclient_h -#include "WProgram.h" #include "Print.h" #include "NetClient.h" #include "IPAddress.h" @@ -10,9 +9,9 @@ class NetClient : public Stream { public: virtual int connect(IPAddress ip, uint16_t port) =0; virtual int connect(const char *host, uint16_t port) =0; - virtual void write(uint8_t) =0; - virtual void write(const char *str) =0; - virtual void write(const uint8_t *buf, size_t size) =0; + virtual size_t write(uint8_t) =0; + virtual size_t write(const char *str) =0; + virtual size_t write(const uint8_t *buf, size_t size) =0; virtual int available() = 0; virtual int read() = 0; virtual int read(uint8_t *buf, size_t size) = 0; -- cgit v1.2.3-18-g5258