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