"asyncore" module question
Michal Wallace (sabren)
sabren at manifestation.com
Sun May 7 10:59:08 EDT 2000
On Thu, 4 May 2000, oliver wrote:
> I have a question on "asyncore" module: Can it handle multiple server
> sockets? From reading the example given in library reference, I can't find
> out the place where you can specify more than one sockets for it to handle
> like you can do by using select().
The reference has a gaping hole in it.. :)
you create as many socket objects as you want... They don't do anything
until you run asyncore.poll() or ayncore.poll2() or asyncore.loop()
read the comments in the source.. they're a lot more helpful.
Cheers,
- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/ http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------
More information about the Python-list
mailing list