- Timestamp:
- 03/01/17 20:53:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/bletchley/ssltls.py
r126 r127 98 98 conn = None 99 99 for pname,p,cl in protocols: 100 serverSock = socket.socket()101 serverSock.connect((host,port))102 if timeout:103 serverSock.settimeout(timeout)104 105 100 try: 101 serverSock = socket.socket() 102 serverSock.connect((host,port)) 103 if timeout: 104 serverSock.settimeout(timeout) 105 106 106 if handshake_callback: 107 107 if not handshake_callback(serverSock):
Note: See TracChangeset
for help on using the changeset viewer.