I still got the problem - does anyone has any working example? I'm using the emulator with the following testcode:
Originally Posted by madsbjoern
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ssl_sock = socket.ssl(s)
# Set a simple HTTP request -- use httplib in actual code.
ssl_sock.write("""GET / HTTP/1.0\r
# Read a chunk of data. Will not necessarily
# read all the data returned by the server.
data = ssl_sock.read()
# Note that you need to close the underlying socket, not the SSL object.