Skip to content

Instantly share code, notes, and snippets.

@DanielleSucher
DanielleSucher / ssl_client.py
Created April 13, 2012 20:15
gevent (py3) test ssl server and client
# import gevent
# import gevent.socket as socket
# import gevent.ssl as ssl
# from gevent import spawn
import socket
import ssl
import pprint
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)