CGI/FastCGI

Linux specific forum
kake26
Enthusiast
Enthusiast
Posts: 157
Joined: Sun Jan 25, 2004 7:21 pm
Contact:

CGI/FastCGI

Post by kake26 »

Hi all,

I'm out of ideas as to where to ask this so I'd figure here is good. I'm just crazy enough to write a lib for use in CGI and hopefully a FastCGI environment. I've trolled and read one to many RFCs on much HTTP included. I've run into one small issue. In order to even begin to tackle FastCGI I must first decipher using unix domain sockets in PureBasic. I am aware of what Unix domain sockets are in detail however I haven't the slightest idea how to begin to tackle this in PB. I've looked over the Linux API PureBasic provides. I'm fairly certain I could probably get away with treating it as files. I realize that might waste many more hours researching this and may eventually decipher it. If anyone has an example of how to use or handle unix domain sockets in purebasic and is willing to provided me a clue I'd appreciate it. If not then I'm stuck doing this the hard way and probably reading many a C header file.