Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
Discipulus more.. and count cloaked monks..
shmem joins the club
[Discipulus]: welcome back to Tkperlmonks virtualsue! ;=)
[virtualsue]: I missed my 17 year anniversary
[erix]: a virtualanniversary , seems apt enough :P
[marto]: :(
[Discipulus]: we can remedy: ♪♫ Happy monkday to you, Hapymonkday virtualsue..♫..
hippo waves at the other 6
NodeReaper sees 10 souls

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-04-24 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?