binkzz
asked on
TCP doesn't timeout properly;
neither can i get information before the buffer runs over.
Is there any way in perl I can get input by the character rather than by the buffer?
Tom
Is there any way in perl I can get input by the character rather than by the buffer?
Tom
What are you trying to do?
ASKER
I'm actually trying to connect to several servers on the telnet port, basically read in anything until the login: and then disconnect.
This way I can check the virtual server's handshakes.
This way I can check the virtual server's handshakes.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's excellent, but as in my question I really need to do this in perl, not shell.
perldoc Net::Telnet
or, if you don't have that...
http://perl.com/cgi-bin/cpan_mod?module=Net::Telnet
or, if you don't have that...
http://perl.com/cgi-bin/cpan_mod?module=Net::Telnet
ASKER
I've got Net::Telnet, that'll time me out and send/recieve data, but it won't actually send me what I need.
I'm currently modifying the Telnet.pm module so it will do what I want it to do. :/
Thanks flivaudaa for your efforts, here's a well deserved 100 points.
Bink
I'm currently modifying the Telnet.pm module so it will do what I want it to do. :/
Thanks flivaudaa for your efforts, here's a well deserved 100 points.
Bink
ASKER
I'm trying to check different server's handshakes, and have the script do different things, dependant on the results.
Mr B
Mr B