in reply to where can I find doco on IO::socket::INET methods?

Do you mean that
perldoc IO::Socket::INET
doesn't work for you? Or that you need more information than just the manpages for Socket, IO::Socket, and IO::Socket::INET?

Doing a web search for "IO::Socket::INET tutorial" I find this article which seems to be a tutorial.