diff options
author | amcewen <amcewen@bcs.org.uk> | 2011-08-28 22:26:07 +0100 |
---|---|---|
committer | amcewen <amcewen@bcs.org.uk> | 2011-08-28 22:26:07 +0100 |
commit | 528e95b14d333f7391f9baffc98a9f9362bde130 (patch) | |
tree | ea6542d81bbd8756b4d2cda982b3674aace94cd9 /cores/arduino/NetClient.h | |
parent | 8ce77304f796e077f594859f270f9f024dc05605 (diff) |
Final changes to integrate latest core updates to WiFly branch
Diffstat (limited to 'cores/arduino/NetClient.h')
-rw-r--r-- | cores/arduino/NetClient.h | 7 |
1 files changed, 3 insertions, 4 deletions
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; |