Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Tue Sep 09, 2025 1:57 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Mar 15, 2007 12:33 pm 
Offline
Kommunist
Kommunist

Joined: Mon Feb 12, 2007 4:24 pm
Posts: 29
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 15, 2007 1:21 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:46 pm
Posts: 2331
Location: *poof*
Title: The Mad Hacker
Well, what are you going to be "listining" for?

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 15, 2007 2:17 pm 
Offline
Kommunist
Kommunist

Joined: Mon Feb 12, 2007 4:24 pm
Posts: 29
I going to be listening for incoming/out going connections (packet sniffing), system events/interrupts and so on.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 15, 2007 8:24 pm 
Offline
Kommunist
Kommunist

Joined: Mon Feb 12, 2007 4:24 pm
Posts: 29
Parasyte can you help me on this?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 15, 2007 9:18 pm 
Offline
Kunt (Banned)
Kunt (Banned)

Joined: Wed Oct 11, 2006 8:19 am
Posts: 549
Location: With your momz
Please don't bump topics use the edit button.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Mar 16, 2007 1:19 am 
Offline
Kommunist
Kommunist

Joined: Mon Feb 12, 2007 4:24 pm
Posts: 29
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Mar 18, 2007 9:04 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun Oct 01, 2006 9:36 pm
Posts: 283
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.

_________________
"The man who trades freedom for security does not deserve nor will he ever receive either." -Benjamin Franklin


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group