
Daemon/Win32 Service Programming
Most UNIX platforms support the startup of background processes at system startup.
These background processes are known as daemons. Usually, two types of daemons are
supported: those that are started by rc files and run as independent processes, and those
that are started by the inetd daemon for every new request made to the daemon’s
TCP/IP protocol and port.
Programs launched by inetd are more difficult to port, because they are dependent
on using standard input and standard output to read and write data to the connected
client.The Windows platform does not support this design by default. In this case, the
programmer must ...