Kodewerx
https://www.kodewerx.org/forum/

Need help creating a daemon process in C for Windows
https://www.kodewerx.org/forum/viewtopic.php?f=5&t=992
Page 1 of 1

Author:  lightsaber [ Thu Mar 15, 2007 12:33 pm ]
Post subject:  Need help creating a daemon process in C for Windows

How do I create a program that will act as a daemon in Windows for C?

Code:
Daemon:

A program that runs in the background whenever needed, carrying out tasks for the user. They 'sleep' until something comes along which needs their help; most commonly found on Unix systems.
                 
                                     www.devel.legend.co.uk/resources/gloss.html

A program that does a specific task. Listens for certain information and then acts accordingly.

                                     netmation.net/hostglos.htm

Author:  James0x57 [ Thu Mar 15, 2007 1:21 pm ]
Post subject: 

Well, what are you going to be "listining" for?

Author:  lightsaber [ Thu Mar 15, 2007 2:17 pm ]
Post subject: 

I going to be listening for incoming/out going connections (packet sniffing), system events/interrupts and so on.

Author:  lightsaber [ Thu Mar 15, 2007 8:24 pm ]
Post subject: 

Parasyte can you help me on this?

Author:  mutantdreams [ Thu Mar 15, 2007 9:18 pm ]
Post subject: 

Please don't bump topics use the edit button.

Author:  lightsaber [ Fri Mar 16, 2007 1:19 am ]
Post subject: 

mutantdreams wrote:
Please don't bump topics use the edit button.



http://kodewerx.net/forum/posting.php?m ... st&p=13891

Quote:
Sorry, but you can only edit your own posts.

Click Here to return to the topic

Author:  ?man [ Sun Mar 18, 2007 9:04 pm ]
Post subject: 

Don't bump your own topics, especially in the same day. A bump is acceptable if the thread has been dead for a couple days, but only in certain cases.

In any case, in Windows these are called services. You want your program to run as a service. To do this, you need to install it as a service, which can be found with a quick Google, and the user that runs it must have permission to log on as a service on the machine.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/