Hi Fellow Monks,
I have coded script to connect to my messaging server to retrieve user info by telnet using Socket connection. I think is not IO::Socket is Socket. The problem occur when i telnet to the server, I have issue few command to capture all the infomation I needed. Each command retrieve some detail i needed and store it to the array. Problem is after few command have been issue, in the middle of the process some other command is failed to proceed and no response from the server. The log file I wrote did not give any detail error response. Finally the web browser page time out with error page display.
May I know how can I detect whether the error is coz by the telnet session timeout, how to write the detection script and include to my script? Or is there any problem might happen, where server automatically will timeout me in certain of time. But by in cmd prompt, i use telnet command, it seem to be taken very long time the session of telnet only time out. Thank you, urs helps are very appreciate.
Kenny