Help for this page

Select Code to Download


  1. or download this
    # Create a client connection object "the hard way" 
    my $c = HTTP::Daemon::ClientConn->new_from_fd( 'STDIN', "+>" );
    
  2. or download this
    # Create a client connection object "the hard way"
    $c = HTTP::Daemon::ClientConn->new_from_fd(STDIN, "+>");
    
  3. or download this
    my $c = HTTP::Daemon::ClientConn->new_from_fd( fileno( STDIN ), '+>' )
    +;
    
  4. or download this
    c:\test\546536>client
    Sending request...
    ...
    
    <HTML><B>Pid: 1572</B> Sun Apr 30 19:44:08 2006</HTML>
    
  5. or download this
    Got response
    Content: HTTP/0.9 200 (OK) EOF <<<<<< ******* EOF means End of file **
    +*** 
    Client-Date: Sun, 30 Apr 2006 05:50:47 GMT
    Client-Peer: 127.0.0.1:2112
    Client-Response-Num: 1