[Twisted-Python] typed mktap usage.Options parameters

Boyd Roberts boyd at strakt.com
Mon Sep 9 03:45:21 MDT 2002


Glyph Lefkowitz wrote:

> So you could say... connectString("tcp:8080:localhost")
> or listenString("ssl:8080").

Plan 9 does exactly that:

    http://plan9.bell-labs.com/magic/man2html/2/dial

In the above example I'd change it to:

    connectString("protocol:host:port")

Although each protocol should interpret what comes
after the first : separator.  Obviously this should
be generalised so that the 'LHS' is handed the 'RHS'
to process.

* [LR]HS - Left/Right Hand Side







More information about the Twisted-Python mailing list