asyncore/asynchat

MetalOne jcb at iteris.com
Mon Nov 17 16:53:49 EST 2003


A map argument may be passed to asyncore.loop()
asyncore.socket_map constains either a reference to the argument
passed to asyncore.loop() or a global map object.
asyncore.socket_map contains all the connections.

You may also keep track of connections yourself by handling the
callback functions
asyncore.handle_accept()
asyncore.handle_connect()
aysncore.handle_close()




More information about the Python-list mailing list