On Tue, 2002-11-19 at 11:12, Pablo Baena wrote: > There's plenty of documentation out there about writing daemons. This > article shows you how to make them in Linux, NT and Java > http://www-106.ibm.com/developerworks/library/sockets/understanding-sockets.html > > Basically it is: > > Listen on a port; > while (true) { > Accept a connection > Fork -start a new thread- > }
This is offtopic but I have to disagree. There is nothing that says that a daemon must listen to a port. It must listen for something but there is nothing that say it's even TCP. That's just the most usual case. /Erik -- Erik B�gfors | [EMAIL PROTECTED] Supporter of free software | GSM +46 733 279 273 fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32 _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
