Thread: Daemon Programming

  1. #1

    Daemon Programming

    Does anybody know a good tutorial or book on Daemon programming? I looked at some Winsock tutorials, but they don't tell me how to open up a port, so I can't program a daemon.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  2. #2
    Unregistered
    Guest
    for nix right? i hope you dont plan to code a daemon for windows cuz if you do well your out to lunch

  3. #3
    Actually, with Win2k. I'd like to do it with winsock if possible. My Linux isn't compatible with my network card. =(
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  4. #4
    Unregistered
    Guest
    it is not possible to code a deamon for windows... well a true daemon

  5. #5
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    You can "open a port" in Windows, (i.e. get a handle to it so you can read/write), with the CreateFile() API function, look it up in the help, with particular reference to the "communication resources" parts.

    >>> well a true daemon

    So define what you mean by "a true daemon" and lets see what we can do, but perhaps on the Windows board rather than this one.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Daemon process debugger
    By karthigayan in forum C Programming
    Replies: 2
    Last Post: 03-31-2009, 12:28 AM
  2. Writing a linux (centos 4) c++ daemon that interacts with PHP
    By misterdanny in forum C++ Programming
    Replies: 3
    Last Post: 01-18-2007, 07:48 AM
  3. Daemon problem
    By gandalf_bar in forum Linux Programming
    Replies: 3
    Last Post: 07-20-2004, 06:23 AM
  4. Help using unix socket for daemon
    By Tal0n in forum Linux Programming
    Replies: 1
    Last Post: 01-13-2004, 12:10 PM
  5. memory checking a daemon using top
    By rotis23 in forum Linux Programming
    Replies: 3
    Last Post: 11-04-2002, 09:48 AM