newsocket, fromaddr = bindsocket.accept() newsocket.setblocking(0) connstream = ssl.wrap_socket(newsocket, server_side=True, certfile="cert.pem", keyfile="key.pem", ssl_version=ssl.PROTOCOL_TLSv1)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)