PDA

View Full Version : Daemon Programming



gnu-ehacks
11-23-2001, 08:12 PM
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.

Unregistered
11-23-2001, 10:51 PM
for nix right? i hope you dont plan to code a daemon for windows cuz if you do well your out to lunch :)

gnu-ehacks
11-24-2001, 12:36 AM
Actually, with Win2k. I'd like to do it with winsock if possible. My Linux isn't compatible with my network card. =(

Unregistered
11-24-2001, 03:54 PM
it is not possible to code a deamon for windows... well a true daemon

adrianxw
11-24-2001, 04:10 PM
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.