Also, check uv_inet_pton, you should use that, like uv_ip6_addr does. (not sure if it returns errors, please check that)