in reply to Windows Net::Telnet problem
Moreover, you should check the result of your open call here. From the docs:
Time-outs don't work for this method on machines that don't implement SIGALRM - most notably MS-Windows machines. For those machines, an error is returned when the system reaches its own time-out while trying to connect.If your open does not succeed, you keep going with the login method, but the server is likely to have closed the TCP connection, and Net::Telnet gets an EOF back when reading from the socket.
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Windows Net::Telnet problem
by djkumar72 (Initiate) on Jul 05, 2005 at 10:33 UTC |