Last change
on this file since 394 was 136, checked in by ertl-honda, 9 years ago |
ライブラリとOS及びベーシックなサンプルの追加.
|
File size:
392 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.