views:

55

answers:

1

I'm developing a small server that is supposed to interface via http. As I want it to be usable with different mature http servers, I have chosen FastCGI as the common interface.

Now I can't find a (free) .NET library that implements the FCGI interface and does all the hard work for me. Do you know one?

+1  A: 

Not that I am aware of (I'm also looking)

One of the difficulties lies in the fact that FastCGI seems to require that you pass a handle to a listener socket to a child process in place of the normal StdIn handle - something which the standard .Net classes (Process, Socket etc...) don't allow. This means implementing a FastCGI library in .Net ultimately requires re-implementing the Process and Socket classes using P/Invoke calls to native Windows functions.

Kragen
thanks for your reply. I'm still looking for such a library. i wasn't aware of those difficulties, then maybe it'd be easier to create a native wrapper around the c library and proxy the requests to my managed server?
milan1612