-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
4735f66
commit 4a05392
Showing
5 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters