source:
trunk/packages/sipb-xen-vnc-server/code/vncproxy.py
@
  1254
        
        | Last change on this file since 1254 was 289, checked in by broder, 18 years ago | |
|---|---|
| 
 | |
| File size: 317 bytes | |
| Line | |
|---|---|
| 1 | #! /usr/bin/python | 
| 2 | from twisted.internet import reactor, ssl | 
| 3 | import vncexternalauth | 
| 4 | |
| 5 | sslContext = ssl.DefaultOpenSSLContextFactory( | 
| 6 | 'vncproxykey.pem', | 
| 7 | 'vncproxy.crt', | 
| 8 | ) | 
| 9 | |
| 10 | if '__main__' == __name__: | 
| 11 | reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext) | 
| 12 | reactor.run() | 
Note: See TracBrowser
        for help on using the repository browser.
    
