http://www.pinetd.net/index.php looks like a pretty interesting project, I have wanted to make a multi-theaded php XML socket server for a long time but interprocess communication was always a sticking point.

Anyway, if you plan on playing with this it has a few quirks..

It requires php 5.3, so you have to have a box you can compile non release software on.. If you do visit http://qa.php.net

For something built on and for php 5.3 and to take advantage of those features it is not strict friendly.. If you like to run things with all errors, notices and warnings you will see a lot of them.. Mostly related to the date() function when each child starts up you get the date.timezone setting bit, a bunch of undefined index notices in the SQLite3.class.php and finally some Deprecated errors, mostly Call-time pass-by-reference which makes no sense at all for something coded for 5.3.

The datetime issue is due to how the start.sh is coded.. Had to make some changes to get it to work on my system.

Also start.sh starts ALL daemons, which really made my system go nuts.. Make sure you edit the config.xml to get only what you want to play with!

Last but not least no real docs to speak of on how to create a new/work with the code.

This is all unreleased code running on release candidate: 5.3.0beta1 of php in an attempt to do something half the world says you shouldn't do anyway (using php to do dns, ftp, http and in my case, Flash XML Socket Serving ) so don't take my comments as a bad thing its a work in progress, one I hope will continue as I dive in to see whats going on.

So now I am going through the code to figure out how to create my own daemon, once I get something working will post an update.