Your basic problem is that you don't understand the telnet protocol. Short answer use Net::Telnet. Real answer Telnet protocol expects input from a terminal not a raw socket so you have to pretend to be a canonical terminal. RTFS of Net::Telnet together with the Telnet spec FWIW Telnet's default listening port is 23.
As an aside you would be more secure to use SSH. Check out Net::SSH
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: writing to telnet?
by tachyon
in thread writing to telnet?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |