source: rtos_arduino/trunk/arduino_lib/libraries/Ethernet2/src/EthernetServer.h@ 136

Last change on this file since 136 was 136, checked in by ertl-honda, 8 years ago

ライブラリとOS及びベーシックなサンプルの追加.

File size: 392 bytes
Line 
1#ifndef ethernetserver_h
2#define ethernetserver_h
3
4#include "Server.h"
5
6class EthernetClient;
7
8class EthernetServer :
9public Server {
10private:
11 uint16_t _port;
12 void accept();
13public:
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
Note: See TracBrowser for help on using the repository browser.