Help for this page

Select Code to Download


  1. or download this
    my $new_sock = $sock->accept();
    
    ...
          }
    }
    
  2. or download this
    while(1) { # loop for the parent
    
    ...
    close($SERVER);
    
    } #$loop for the parent