[Twisted-Python] Setting socket options before connect
Mikhail Terekhov
termim at gmail.com
Fri Jul 19 19:35:05 MDT 2013
On Thu, Jul 18, 2013 at 1:09 PM, <exarkun at twistedmatrix.com> wrote:
> On 01:09 pm, p.mayers at imperial.ac.uk wrote:
>
...
> Well, exactly. It's currently easier for me to sub-class a Twisted
>> internal/private class. But if that goes away, that option is unavailable
>> and a replacement would be nice - even if it's a convenience API like:
>>
>
>> connectExistingSocket(...)
>>
>> Isn't there code to do this as part of the systemd activation?
>>
>
> I really wanted to suggest something along those lines. The current code
> has the limitation that it will only accept an *already* connected socket.
> There isn't something that will accept a socket and then do the connection
> part for you.
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).
--
Mikhail Terekhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20130719/37d7137a/attachment-0002.html>
More information about the Twisted-Python
mailing list