in reply to Net:::Telnet - two consecutive connection

Have you considered waiting for the device to boot (after that reset) before trying to reopen the connection? Give the commands 10 retries with 30 second delays until they succeed.

Also, why would you do a system call when you could simply call that code as a sub instead?

  • Comment on Re: Net:::Telnet - two consecutive connection