REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
ethernet_server.cpp
Go to the documentation of this file.
1
2
3#include <memory>
4
6#include <net/ethernet_client.h>
7#include <net/ethernet_server.h>
8
9namespace net {
10
11EthernetServer::EthernetServer() : hal_(std::make_unique<NativeEthernetServerHAL>()) {}
12
13EthernetServer::EthernetServer(uint16_t port) : hal_(std::make_unique<NativeEthernetServerHAL>()) {
14 begin(port);
15}
16
17int EthernetServer::maxListeners() { return 8; }
18
19} // namespace net