Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
             ];
    }
    
  2. or download this
    INIT: Starting the server
    INIT: Attempting to listen on port 6789
    ...
    PROC: Incoming traffic
    PROC: We have a client, let's treat them well.
    Your vendor has not defined POSIX macro F_GETFL, used at C:/Perl/site/
    +lib/Net/HTTPServer.pm line 1091
    
  3. or download this
    ######################################################################
    +#########
    #
    ...
        fcntl($socket, F_SETFL, $flags | O_NONBLOCK)
            or croak("Can't make socket nonblocking: $!\n");
    }