[Twisted-Python] adding a new connection type

Eric C. Newton ecn at metaslash.com
Sun May 26 16:39:41 EDT 2002


I want to add a new kind of connection to Twisted.  I have wrapped up
the API for this connection with an interface very similar to the
socket object interface.  It supports fileno(), bind(), connect(),
listen(), accept(), send(), recv(), and of course, setblocking().

One interface difference is that the address type is just a string.

Another subtle difference is that connect() calls should always bind
to a local address before connecting.

I'm new to Twisted, but I have extensive experience in ACE.

I could use a clue on where I should start.

-Eric








More information about the Twisted-Python mailing list