in reply to Writing a Daemon on Windows/Linux

Generally, forking processes is pretty platform dependent.

Could you use perl's threads (called iThreads) for this? Have a look at "perldoc perlthrtut" to learn more about iThreads.

Replies are listed 'Best First'.
Re^2: Writing a Daemon on Windows/Linux
by hackdaddy (Hermit) on Nov 10, 2005 at 10:10 UTC
    Aren't threads somewhat still experimental in Perl? This is supposed to be a professional custom client-server solution that the company will depend on day and night.

    It needs to be available 24/7 with no nasty surprises.

    It kind of makes me cringe to use Windows. I prefer to run Perl in a Unix environment.

    Otherwise, I'll have to break out C++ to create the daemon.