communicating with a server port

Ravi Agarwal (Ravi@commercetoday.com)
Wed, 27 May 1998 22:44:07 -0400


Hi,
	What is the best/easiest way to communicate (read & write data) with a
port on a server across the Internet? For example, I need to talk to
site.com on port 9434; which module would be best? 
Net::Telnet
Net::TCP
Net::Inet
IO::Socket
IO::Socket::INET

	Can the IO::Socket modules be used to communicate with a port on a server
across the Internet? Or are modules good for only opening a socket on the
same server that the program is running on?

	As I'm pretty new to this, any example code would really help!

Thanks for the help
-Ravi