Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    close (SOCK) || die "close: $!\n";
    
    exit;
    
  2. or download this
    $ connect_test 127.0.0.1 22
    proto=[6]
    ...
    Connect using pack method...
    paddr=[2, 22, 127.0.0.1]
    connect: Address family not supported by protocol family