Arduino/libraries/Ethernet/EthernetServer.h

23 lines
392 B
C
Raw Normal View History

#ifndef ethernetserver_h
#define ethernetserver_h
2008-07-30 07:47:36 -07:00
#include "Server.h"
2008-07-30 07:47:36 -07:00
class EthernetClient;
2008-07-30 07:47:36 -07:00
class EthernetServer :
public Server {
2008-07-30 07:47:36 -07:00
private:
uint16_t _port;
void accept();
public:
EthernetServer(uint16_t);
EthernetClient available();
virtual void begin();
virtual size_t write(uint8_t);
virtual size_t write(const uint8_t *buf, size_t size);
using Print::write;
2008-07-30 07:47:36 -07:00
};
#endif