Thought this might interest some of you: http://effbot.org/zone/asyncore-generators.htm """Instead of passing events to callbacks, pass information to a single handle function (a generator) via instance attributes. When the handler needs more data from the network, use yield to pass control back to the asyncore dispatcher.""" -- :(){ :|:&};: