[Python-ideas] The async API of the future

Antoine Pitrou solipsis at pitrou.net
Sun Oct 21 02:09:14 CEST 2012


On Sun, 21 Oct 2012 12:26:04 +1300
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Glyph wrote:
> 
> > The main interfaces you need are here:
> > 
> > <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.ITransport.html>
> > <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IProtocol.html>
> > <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IConsumer.html>
> > <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IProducer.html>
> 
> These don't look anywhere near adequate to me. How do I make
> a sendmsg() call on a unix-domain socket and pass access rights
> over it?

Looks like your question is answered here:
http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IUNIXTransport.html

Regards

Antoine.





More information about the Python-ideas mailing list