Example of writing an application using the Twisted connection adapter::.
Twisted connection adapter
Twisted Example