use IO::Socket::INET; # wrong! use IO::Socket; # right