simple c fcgi client to talk to fastcgi process?

"smullen" <smullen-sFbbPxZDHXw0n/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <002301c66481$b67641c0$021ea8c0@home>
Hi, I'm getting my head around fcgi and come up against a brick wall.
 
 
I have fastCGIphp running on a socket ( i.e. php -b /tmp/fastcgi.sock) and
would like to "talk to it" directly in c and get a response.

In other words, send a simple "<?phpinfo();?>" (or script_filename) and get
the reply.

I.e.
sock = socket (PF_LOCAL, SOCK_STREAM, 0)
connect (sock, .....

Fputs ??? 

fgets ???

Thanks for any info


Sean.
 
 

___________________________________
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.