in reply to Time out error as I connect to remote desktop server using telnet
So, have you checked that the prompt you get from the Windows machine is the prompt you have defined? Have you looked into the debug options that Net::Telnet has? What happened when you tried them?
In Section
Seekers of Perl Wisdom