in reply to Catching a signal causes my socket server to die

Why are you using signals for communication inside your daemon?
Make yourself familiar with threads and then share the needed data. Processing gets then very clean.
  • Comment on Re: Catching a signal causes my socket server to die

Replies are listed 'Best First'.
Re^2: Catching a signal causes my socket server to die
by jimmy5804 (Initiate) on Jan 07, 2009 at 21:39 UTC
    I guess I could have one thread sleep. I do really need to learn threads but in this particular case, Real Life wants answers from me right away from me I'm afraid.