Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Telnet session disconnect testingby gman (Friar) |
on Jan 13, 2010 at 15:34 UTC ( [id://817199]=note: print w/replies, xml ) | Need Help?? |
Are you sure your not getting any sort of disconnect string? Does the remote server allow more then one session? If so you can setup another process to connect and if it fails, restart your initial connection after some sort of delay. I have done some billing feeds like this which where one way communications, and had to restart my connection, if I received no data within a certain time frame. Maybe try using alarm? http://perldoc.perl.org/functions/alarm.html
In Section
Seekers of Perl Wisdom
|
|