in reply to Creating A Single Threaded Server with AnyEvent
See the server and client in Re: Does IO::Select work? Solution