>You're trying to connect to the same port on >localhost as a client and a >server? I don't know for certain but I don't >think that should work. >Two computers? -- >Alexander
it should work. I did short tutorial on this like a month ago and it worked. The only difference is that in mine it didn't have the part below which is the source of the problem. Also, in mine, I used "send" and "recv" though I doubt this makes any difference. > ssl_sock = ssl.wrap_socket(s, > ca_certs="/home/ckyang/PHA/testsslsocket/ myCA.crt", > cert_reqs=ssl.CERT_REQUIRED) > ssl_sock.connect(("127.0.0.1", 1234)) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor