Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Net::Telnet;
    ...
    #   my $etc2
    
                        }
    
  2. or download this
    10.xx.yy.zzz
    127.0.0.1
    127.0.0.1
    10.aa.bb.cc
    10.aaa.bb.cc
    
  3. or download this
    ad connection - Unable to connect to IP 10.xx.yy.zz at
    -------------------
    ...
    -------------------
    Bad connection - Unable to connect to IP 10.xx.yy.zz at
    -------------------
    
  4. or download this
    # simple telnet_test
    
    ...
    print "sending \\cr waiting ...\n";
    my $output = $telnet->put(String => $string, Errmode => 'die', Timeout
    + => '4',);
    print " $output \n";
    
  5. or download this
    root@xxxxx scripts]# perl  test_telnet1.pl
    connected
    about to execute carriage return
    sending \cr waiting ...
     1
    
  6. or download this
    root@xxxxx   scripts]# cat dumplog.txt
    > 0x00000: 0d 0d 0a                                            ...
    
  7. or download this
    [root@xxxxx scripts]# telnet 10.aaa.bb.cc xxxx
    Trying 10.aaa.bb.cc...
    ...
    dds_pc: _ms=nodecc.dom.org.localþ_si=Process controllerþ_mid=9016þ_sev
    +=0þ_dt=2010/07/29þ_tm=01:12:02þ_pkg=þ
    
    Connection closed by foreign host.