Hey Sidd, long-time no-see. There are probably many ways to create
"daemons" depending on what you want to do. A common implementation for
many applications is a program that sits in an essentially-inifite loop
and listens on some port; it would spawn some other process or perform
some action based on the messages it gets. Depending on how the program is
written now, it could go from "normal application" to "daemon behavior"
simply by running it in the background.
As another mail on this subject shows, there are good canonical ways to
get daemon behavior in a program, although there may be better or worse
ways to do it depending on your program and target platform (which, of
course, is linux, right Sidd?).
Austin Bingham
Applied Research Laboratories
[EMAIL PROTECTED]
On Mon, 23 Jul 2001, Sidd Jashnani wrote:
>
> Hey,
> I have a C++ program. How do I make a daemon application out of that?
>
> --
> Sidd M. Jashnani
>
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
>
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]