1
0
Fork 0
This repository has been archived on 2019-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
arduinisten/arduino-0022-linux-x64/libraries/Ethernet/Server.h

23 lines
347 B
C
Raw Normal View History

2011-02-23 21:47:18 +01:00
#ifndef server_h
#define server_h
2010-03-30 20:09:55 +02:00
#include "Print.h"
class Client;
2011-02-23 21:47:18 +01:00
class Server :
public Print {
2010-03-30 20:09:55 +02:00
private:
uint16_t _port;
void accept();
public:
Server(uint16_t);
Client available();
void begin();
virtual void write(uint8_t);
virtual void write(const char *str);
virtual void write(const uint8_t *buf, size_t size);
};
#endif