Changeset 288 for trunk/packages/sipb-xen-vnc-server/code/vncproxy.py
- Timestamp:
- Mar 28, 2008, 8:29:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-vnc-server/code/vncproxy.py
- Property svn:executable set to *
r115 r288 1 1 #! /usr/bin/python 2 from twisted.internet import reactor 2 from twisted.internet import reactor, ssl 3 3 import vncexternalauth 4 4 5 sslContext = ssl.DefaultOpenSSLContextFactory( 6 'vncproxykey.pem', 7 'vncproxy.crt', 8 ) 9 5 10 if '__main__' == __name__: 6 reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost")) 11 reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"), contextFactory=sslContext) 12 #reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost")) 7 13 reactor.run()
Note: See TracChangeset
for help on using the changeset viewer.