Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Creating A Single Threaded Server with AnyEvent

by rcaputo (Chaplain)
on Nov 06, 2012 at 23:03 UTC ( #1002597=note: print w/ replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2015-07-07 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls