NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: SocketAddress.cpp
- Revision:
- 124:d2656a514a27
- Parent:
- 122:b316a6631ef8
--- a/SocketAddress.cpp Tue May 10 12:08:45 2016 -0500 +++ b/SocketAddress.cpp Mon May 16 22:41:01 2016 -0500 @@ -153,7 +153,7 @@ set_port(port); } else if (host && ipv6_is_valid(host)) { _ip_version = NSAPI_IPv6; - ipv4_from_address(_ip_bytes, host); + ipv6_from_address(_ip_bytes, host); set_port(port); } else { // DNS lookup