in reply to Which module to create a tcp daemon?

One of the things I like about the Net::Server family is that it very easily allows you to move from a single-threaded to forking or pre-forking model. So you can concentrate on the things that your code is supposed to do with the network connection and not have to worry too much about the scalability or flexibility of your daemon.

I think the choice largely depends on how much work you want to do yourself and how much you want to get from preexisting code. You've not told us what your daemon is supposed to do, so it's hard to give advice.


Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
  • Comment on Re: Which module to create a tcp daemon?