0.18.0 #28
Closed
ssilverman
announced in
Announcements
0.18.0
#28
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added
EthernetClient::connect()
and its return values.connectNoWait()
, that are equivalent to theconnect()
functions but don't wait for the connection to complete.EthernetUDP::beginWithReuse()
andbeginMulticastWithReuse()
functions to replace the corresponding begin-with-reuse-parameter versions.EthernetClass::onInterfaceStatus(callback)
andinterfaceStatus()
functions for tracking the network interface status.Changed
LWIP_MDNS_RESPONDER
option inlwipopts.h
with#ifndef
and added it to the README.EthernetClass::loop()
non-static.EthernetClient::connect()
internals to callclose()
instead ofstop()
so that any cleanup doesn't block.EthernetClient::connect()
to return some of the error codes defined at Ethernet - client.connect().EthernetServer::begin()
-with-Boolean-reuse-parameters to be namedbeginWithReuse()
. This avoids too many overloads with mysterious Boolean arguments.EthernetServer::operator bool()
to beconst
.EthernetServer::end()
to returnvoid
instead ofbool
.MDNSClass::begin(hostname)
andDNSClient::getHostByName()
to treat a NULL hostname as an error; they now explicitly return false in this case.MDNSClass::end()
to returnvoid
instead ofbool
.unsigned char
to useuint8_t
in appropriate places.EthernetUDP::begin
functions now callstop()
if the socket is listening and the parameters have changed.MDNSClass::begin(hostname)
now callsend()
if the responder is running and the hostname changed.EthernetServer
andEthernetUDP
to disallow copying but allow moving.QNETHERNET_DISABLE_RAW_FRAME_SUPPORT
macro toQNETHERNET_ENABLE_RAW_FRAME_SUPPORT
.tcp_pcb
member accesses to use appropriate TCP API function calls. This fixes use of the altcp API.Removed
EthernetServer
andEthernetUDP
begin functions that take a Booleanreuse
parameter.Fixed
EthernetUDP::begin
functions now callstop()
if there was a bind error.EthernetClient::setNoDelay(flag)
to actually use theflag
argument. The function was always setting the TCP flag, regardless of the value of the argument.EthernetClient::connect()
andclose()
operations to check the internal connection object for NULL acrossyield()
calls.lwip_strerr()
buffer size to include the potential sign.This discussion was created from the release 0.18.0.
Beta Was this translation helpful? Give feedback.
All reactions