2 from twisted.internet import reactor, ssl
5 sslContext = ssl.DefaultOpenSSLContextFactory(
10 if '__main__' == __name__:
11 reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"), contextFactory=sslContext)
12 #reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"))