1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
=head1 NAME
FCGI - Fast CGI module
=head1 SYNOPSIS
use FCGI;
$count = 0;
while(FCGI::accept() >= 0) {
print("Content-type: text/html\r\n\r\n", ++$count);
}
=head1 DESCRIPTION
Functions:
=over 4
=item FCGI::accept()
Accepts a connection. Returns 0 on success.
If a connection has been accepted before, the old
one will be finished first.
=item FCGI::finish()
Finishes accepted connection.
=item FCGI::flush()
Flushes accepted connection.
=item FCGI::set_exit_status(status)
Sets the exit status that finish returns to the server.
=item FCGI::start_filter_data()
Does anyone use this function ?
=back
=head1 AUTHOR
Sven Verdoolaege <skimo@kotnet.org>
=cut
__END__
|