non blocking read

Sebastian Boehm <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

considering this simple perl example:

my %env;
my $in = new IO::Handle;
my $out = new IO::Handle;
my $err = new IO::Handle;
my $req = FCGI::Request($in, $out, $err, \%env);
while($request->Accept() >= 0)
{
...

How can I do a non blocking read on $in ?

There is an error with fileno($in) , so I cannot use select().

Thank you for your help
Sebastian 
   
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.