in reply to Re: Telnet session disconnect testing
in thread Telnet session disconnect testing

jklowden

Thanks for the response but I am not sure I get your point here. I was assuming that the  while (<$sock>) would provide a means of checking that the link was up and if it is then continue.

I have checked a few examples of using the IO::Socket::INET and I have not seen anyone using a timeout option so I am not sure how I could implement that, could you explain bit more for me? Maybe an example of it in my code?