http://www.perlmonks.org?node_id=1022386


in reply to Net::Telnet to IO::Socket::INET

Try to capture the session using wireshark. It would also be good to know what was the output before. Then looking at the captured data one may try to figure out what is really sent by the host.

Do you connect to a telnet daemon? In this case raw socket will be tricky to use, since you'd have to handle network terminal stuff.