Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

FCGI.pm client sockets: INET vs. UNIX

by petr999 (Acolyte)
on Apr 13, 2011 at 13:21 UTC ( [id://899187]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use FCGI;
    use IO::Socket;
    ...
    while($r->Accept() >= 0) {
      print "Content-type: text/html\r\n\r\n"; 
    }
    
  2. or download this
    use IO::Socket;
    use FCGI::Client;
    ...
    my $c = FCGI::Client::Connection -> new( sock => $s, timeout => 3, );
    $c -> request( +{ REQUEST_METHOD => "GET", }, "" );
    $s -> close;
    
  3. or download this
    REQUEST_TIME_OUT at [.]/FCGI/Client/Connection.pm line 25
            FCGI::Client::Connection::__ANON__('ALRM') called at [..]/FCGI
    +/Client/Connection.pm line 92
    ...
            FCGI::Client::Connection::_read_record('FCGI::Client::Connecti
    +on=HASH(0x28983aa0)', 'FCGI::Client::Connection=HASH(0x28983aa0)') ca
    +lled at [..]/FCGI/Client/Connection.pm line 37
            FCGI::Client::Connection::_receive_response('FCGI::Client::Con
    +nection=HASH(0x28983aa0)', 'IO::Socket::UNIX=GLOB(0x2875d0ac)') calle
    +d at [..]/FCGI/Client/Connection.pm line 28
            FCGI::Client::Connection::request('FCGI::Client::Connection=HA
    +SH(0x28983aa0)', 'HASH(0x28796110)', '') called at client00.pl line 1
    +8
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://899187]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-07-20 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.