in reply to How to build a tcp session with a remote server?

At the most basic level, IO::Socket::INET.

If the remote server is of a particular known type of server -- http; ftp; DNS; etc. -- then look in the NET::* namespace to find higher level abstractions that may greatly reduce your programming effort.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: How to build a tcp session with a remote server?