You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WiFiServer IPv6 support and example, WiFiClient::remoteIP IPv6 support
This is one of useful examples of IPv6, such device can be reached
from internet without any port forward on NAT and etc.
Most of changes for WiFiServer is to use ip6 structures, and for ip4
we use ipv6-to-ipv4 mapped addresses (RFC 4291).
For RemoteIP i added support ip4 to ip6 mapping as well.
Scenarios tested:
wifiMulti.IPv6(true); but set to listen on IPv4 only
IPv6 disabled, with or without bind to specific IP4
AsyncUDPServer without IPv6 support, to check if remoteIP works properly
Signed-off-by: Denys Fedoryshchenko <[email protected]>
0 commit comments