Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Managing TERM TYPE Option Requests with Net::Telnetby initself (Monk) |
on Aug 16, 2006 at 02:31 UTC ( [id://567581]=note: print w/replies, xml ) | Need Help?? |
Excellent! Given your advice, I was able to see how use my telnet object $t as a socket. First I set the TERM TYPE Option in the $nto object:
Then I set my telnetmode to 0: $t->telnetmode(0);After opening my host, I received three sets of data from the application server. Since the first request contained the TERM TYPE request, I sent the reply that I was an 'xterm' with the sendOpt function:
And then I went about my business as usual with Net::Telnet:
In Section
Seekers of Perl Wisdom
|
|