[Twisted-Python] adoptStreamConnection (was Re: Setting socket options before connect)

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Jul 20 13:03:24 MDT 2013


On 01:35 am, termim at gmail.com wrote:
>
>Sorry it is not exactly about the subject, but what is the current API 
>that
>accepts already connected socket?
>Some time ago I was looking for such an API without success (probably 
>not
>very hard though).

IReactorSocket.adoptStreamConnection was recently added:

http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorSocket.html

Jean-Paul



More information about the Twisted-Python mailing list