Final changes to integrate latest core updates to WiFly branch
This commit is contained in:
parent
8ce77304f7
commit
528e95b14d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue