source: trunk/packages/sipb-xen-vnc-server/code/vncproxy.py @ 288

Last change on this file since 288 was 288, checked in by broder, 16 years ago

Fixed the init scripts and control file. Also, imported quentin's UNCOMMITTED CODE

  • Property svn:executable set to *
File size: 425 bytes
Line 
1#! /usr/bin/python
2from twisted.internet import reactor, ssl
3import vncexternalauth
4
5sslContext = ssl.DefaultOpenSSLContextFactory(
6        'vncproxykey.pem',
7        'vncproxy.crt',
8)
9
10if '__main__' == __name__:
11    reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"), contextFactory=sslContext)
12    #reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"))
13    reactor.run()
Note: See TracBrowser for help on using the repository browser.