http://www.perlmonks.org?node_id=1002597


in reply to Creating A Single Threaded Server with AnyEvent

There is more than one way to do it. Among other things, see: this object-oriented TCP echo server with Reflex. Or these TCP echo servers with POE. All of them are single-threaded, multi-client servers.

  • Comment on Re: Creating A Single Threaded Server with AnyEvent

Replies are listed 'Best First'.
Re^2: Creating A Single Threaded Server with AnyEvent
by mobiusinversion (Beadle) on Nov 06, 2012 at 23:15 UTC
    Can you tell me a way to do this with the modules mentioned above?

      Sorry, I don't know the direct answer to your question, and I'm reluctant to pretend to be an expert in a module I don't know well. "There Is More Than One Way To Do It" is a part of Perl culture, so I thought I'd offer some equivalents that I'm more proficient in.