# check that localhost resolves to 127.0.0.1 and ::1
# otherwise the test will not work
+ AF_INET6 PF_INET6 SOCK_RAW SOCK_STREAM INADDR_ANY SOCK_DGRAM
+ AF_INET SO_REUSEADDR SO_REUSEPORT AF_UNSPEC SO_BROADCAST
+ sockaddr_in unpack_sockaddr_in
+# IO::Socket and Socket already import stuff here - possibly AF_INET6
+# and PF_INET6 so selectively import things from Socket6.
+ qw(AI_PASSIVE getaddrinfo
+ sockaddr_in6 unpack_sockaddr_in6_all pack_sockaddr_in6_all in6addr_any
+# IO::Socket has an import method that is inherited by IO::Socket::INET6 ,
+# and so we should instruct it not to import anything.
+use IO::Socket::INET6 ();