Help for this page

Select Code to Download


  1. or download this
    
    sub clientHandler {
    ...
    while( my $client = $svr->accept ) {
        threads->create( \&clientHandler, fileno( $client ) );
    }