http://qs321.pair.com?node_id=217896


in reply to Net::Server for ActivePerl?

Take a look at the networking code from "Advanced Perl Programming" (here is the example code directory). In particular look in the Networking directory for Msg.pm, the server code is toward the bottom. You can look at the code and get some ideas or you may be able to subclass Msg.pm to meet your needs. The RPC.pm class is an example of subclassing the Msg.pm class.

--
hiseldl
What time is it? It's Camel Time!

Replies are listed 'Best First'.
Re: Re: Net::Server for ActivePerl?
by jhanna (Scribe) on Dec 05, 2002 at 21:07 UTC
    The O'Reilly book is interesting, and their code is nice, but this has nothing to do with my question.

    I'm looking for Net::Server{::Fork|::Multiplex|::PreFork} type behavior that works in Windows 2000 with ActivePerl 5.6.1. I know how to make a socket thank you. :-)

    john

      Sorry. I was trying to help as asked by the first part of your post.

        it dies mysteriously after a few hours in win2k ... if you have insight how to fix it I'd love to know.

      The demo code server seems to run pretty well and may stay alive longer.

      :-)

      --
      hiseldl
      What time is it? It's Camel Time!

Re: Re: Net::Server for ActivePerl?
by jhanna (Scribe) on Dec 05, 2002 at 21:20 UTC
    Ok... I take that back... Msg.pm might work.

    j