in reply to Telnet session disconnect testing
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Telnet session disconnect testing
by bajangerry (Sexton) on Jan 13, 2010 at 15:48 UTC |