in reply to Reading from a UNIX daemon

Commonly, a daemon accepts connections over a socket. The client should connect to the port the daemon is listening on, and write the identifier of the information it wants, then read the response over the socket and disconnect.

I'd like to see your code, to check the goodness of your daemon. There are things you should do to make it a good citizen.

After Compline,
Zaxo