blackhaze has asked for the wisdom of the Perl Monks concerning the following question:

Hello!

We have written a POP3-server in Perl, the software works 100% in Linux using inetd/xinetd or as a standalone daemon by using accept()/fork()

However ...

When we try to port the application to Windows we hit a brick-wall.

Fork() seems unstable under the standard Perl distro and ActiveState. We can use cygwin+perl+inetd but it's becomming major bloat-ware for our app ...

Does anyone know of a native Windows inetd emulator/exe? Basically all we want is a Windows exe that can accept/fork a perl process for multiple connections.

Or can we use Net::Daemon under Windows, any fork() workarounds?

Suggestions + ideas are welcome!


- Mr phpkiller
  • Comment on Windows fork or inetd emulation for Perl

Replies are listed 'Best First'.
Re: Windows fork or inetd emulation for Perl
by Roger (Parson) on Jan 22, 2004 at 13:41 UTC
      Thanks for your suggestion. Hummingbird product looks ok, but for $99 it's a bit steep. Does anyone have any extra suggestions? It's pretty poor Windows perl cannot support fork() to create a TCP-server for accepting multiple clients ... any free native windows inetd's around?
Re: Windows fork or inetd emulation for Perl
by Abigail-II (Bishop) on Jan 22, 2004 at 13:34 UTC
    Does anyone know of a native Windows inetd emulator/exe?
    It would have taken you less time to go to google and search for inetd windows, then it took you to write your post.

    Abigail