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.
In reply to Re: Creating A Single Threaded Server with AnyEvent
by rcaputo
in thread Creating A Single Threaded Server with AnyEvent
by mobiusinversion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |