Hi Folks:

I am trying to use the epollreactor. I read the "Choosing a Reactor" page. 
However I am not clear on how to actually install and use epollreactor.

I thought I could do the following:

from twisted.internet    import  epollreactor

....
# epollreactor.install()
epollreactor.listenTCP(8000, MyHttpFactory())
epollreactor.run()

I get
AttributeError: 'module' object has no attribute 'listenTCP' 

What am I doing wrong? Thanks in advance.

Cheers,
Andrew







      

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to