On Fri, 03 Jul 2009 15:24:14 +0530, Swayam wrote: > Hi ,, > > I want to test a scenario where it is required to check that > the > server *should not allow telnet .Please* let me know what is the best > way to do this
If you just want to see if anything is there, make a TCP connection to the socket and check for failure. No need to invoke Net::Telnet. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
