in reply to TCP Client-Server: Server exits though it shouldn't

some further findings:

  • I was able to boil this down to the REAPER, using $SIG{CHLD} = 'IGNORE'; works like a charm but is not what I want
  • reaping (a.k.a. calling waitpid()) in the parent-part of the while loop also works, but will not clean up often enough
  • I also debugged this with -d now and it seems that the REAPER-sub throws the server out of the while loop
  • NOW: this is all pretty much what is in the docs, camelbook etc., but does not seem to work... --- no ideas out there???
    Regards,
    svenXY