Skip to content

Commit 23f09b2

Browse files
committed
Pulled out Server API into the NetServer base class, and a few minor changes to get the NetClient API to work well with the WiFly library
1 parent 7284934 commit 23f09b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Server.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#ifndef server_h
22
#define server_h
33

4-
#include "Print.h"
4+
#include "NetServer.h"
55

66
class Client;
77

88
class Server :
9-
public Print {
9+
public NetServer {
1010
private:
1111
uint16_t _port;
1212
void accept();
1313
public:
1414
Server(uint16_t);
1515
Client available();
16-
void begin();
16+
virtual void begin();
1717
virtual void write(uint8_t);
1818
virtual void write(const char *str);
1919
virtual void write(const uint8_t *buf, size_t size);

0 commit comments

Comments
 (0)