in reply to net::telnet tutorial anyone?

I found this manpage ...perhaps it holds the key for what you are looking to find.