Help for this page

Select Code to Download


  1. or download this
    sub dbconnect {
        socket(my $mysocket, PF_INET, SOCK_STREAM, getprotobyname('tcp'))
    ...
    
        # ...
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    socket(my $mysocket, PF_INET, SOCK_STREAM, getprotobyname('tcp')) or d
    +ie;
    print(fileno($mysocket), "\n");
    
  3. or download this
    0: 3
    1: 4
    ...
    9: 14
    --
    10