1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Arduino/hardware/arduino/avr/libraries/Ethernet/EthernetServer.h

23 lines
392 B
C
Raw Normal View History

#ifndef ethernetserver_h
#define ethernetserver_h
2008-07-30 16:47:36 +02:00
#include "Server.h"
2008-07-30 16:47:36 +02:00
class EthernetClient;
2008-07-30 16:47:36 +02:00
class EthernetServer :
public Server {
2008-07-30 16:47:36 +02: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 16:47:36 +02:00
};
#endif