I'm updating QNEthernet's handling of `EthernetUDP::parsePacket()` to return -1 if there's no packet available instead of zero. This allows for zero-length packets. However, I've seen examples that do things like this:...
I just released 0.15.0. The changes:
### Added
* Added a way to enable promiscuous mode: define the
`QNETHERNET_PROMISCUOUS_MODE` macro.
* Added a way to remove all the mDNS code: set `LWIP_MDNS_RESPONDER` to...
You can do exactly what you've done, or you could also create it with `new EthernetServer(webPort)`.
I'm working on an experimental feature in QNEthernet where you can give the port number in the `begin(port)`...
See also the AppWithListenersTemplate example for a variety of things you can do for setup in a basic app. (Note that not all of the code is meant to be included, it’s just illustrative.)
QNEthernet has a "set DHCP option 12" feature that can set the hostname. See `Ethernet.setHostname()`. Note that there's also mDNS features where you can set a network-local name. For mDNS, see the OSCPrinter example...
Thanks. After some discussion (https://github.com/ssilverman/QNEthernet/issues/15), it turns out that this is expected TCP behaviour. The solution to reduce the waiting time is to either use keepalive or reduce...
It is not strictly necessary; it’s there, however, for completeness. Setting the DNS with the QNEthernet-style API matches the Arduino-style API that you were using before with NativeEthernet. With that API, not setting...
Here's some illustrative code that should work with QNEthernet. (Caveat: I'm not near a Teensy so haven't tested it.)
#include <QNEthernet.h>
using namespace qindesign::network;
constexpr uint16_t kUDPPort =...