0.11.0
Pre-release
Pre-release
Added
- Implemented
EthernetClass::setMACAddress(mac)
. - Added
EthernetServer::maxListeners()
,EthernetClient::maxSockets()
, andEthernetUDP::maxSockets()
so user code doesn't need to guess. These areconstexpr
functions that return the compile-time constants from the lwIP configuration. - Added
EthernetServer::port()
for returning the server's port. - Added
EthernetClass::setHostname(hostname)
andhostname()
for setting and getting the DHCP client option 12 hostname. - Added
EthernetClass::maxMulticastGroups()
constexpr
function. - Added a "Write immediacy" subsection to the README that addresses when data is sent over a connection. It's under the "How to write data to connections" section.
Changed
- Changed the default DHCP client option 12 hostname to "teensy-lwip".
Fixed
- Stop the DHCP client when restarting
Ethernet
(inbegin(ip, mask, gateway)
andsetMACAddress(mac)
) to ensure that a static IP won't get overwritten by any previously running DHCP client. This also obviates the need to callEthernet.end()
before re-callingbegin
.