First, I'd simply like to know how I can read the output from a remote address:port when it is opened.
Second thing I'd like to know is how to make a server send some text through a port when it is opened. I have a feeling this is generally done without Perl, but I still need to know.