Statistics
| Branch: | Revision:

root / arduino-1.0 / libraries / Ethernet / EthernetServer.h @ 58d82c77

History | View | Annotate | Download (392 Bytes)

1
#ifndef ethernetserver_h
2
#define ethernetserver_h
3

    
4
#include "Server.h"
5

    
6
class EthernetClient;
7

    
8
class EthernetServer : 
9
public Server {
10
private:
11
  uint16_t _port;
12
  void accept();
13
public:
14
  EthernetServer(uint16_t);
15
  EthernetClient available();
16
  virtual void begin();
17
  virtual size_t write(uint8_t);
18
  virtual size_t write(const uint8_t *buf, size_t size);
19
  using Print::write;
20
};
21

    
22
#endif