[Twisted-Python] Could I serve normal TCP and TLS services on the same port?
nkeric at gmail.com
Tue Jun 14 01:57:59 EDT 2005
BIG THANKS for your clarification! That really enlightened me :D
Then, here is the last question which is more related to twisted:
Does twisted already have support(libs, classes, api...) for "turning
TLS on within a normal TCP connection"? Is there any sample code or
tutorial I could learn from, or could you please point me to somewhere
I could find more information?
Big thanks again! :) :)
2005/6/14, Justin Warren <daedalus at eigenmagic.com>:
> So you SHOULD be closing the connection after doing the username and
> password allocation, which I'm reading as being within the TLS session.
> This means the shutdown of TLS happens when the TCP connection is ended.
> The next connection will be standard bare TCP.
> This means all you have to do is work out how to turn TLS *on* when you
> get a TCP connection. You don't have to work out how to turn it off
> within the same TCP session, because you actually end the session and
> reconnect. Much easier. :)
> Justin Warren <daedalus at eigenmagic.com>
More information about the Twisted-Python