SSLContext.set_servername_callback(server_name_callback) Register a callback function that will be called after the TLS Client
exception ssl.SSLError Raised to signal an error from the underlying SSL implementation (currently provided by the OpenSSL library)
ssl.OP_NO_TLSv1_2 Prevents a TLSv1.2 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23
SSLSocket.unwrap() Performs the SSL shutdown handshake, which removes the TLS layer from the underlying socket, and returns
find(sub[, start[, end]]) Returns the lowest index in the object where the subsequence sub is found, such that sub
socket.accept() Accept a connection. The socket must be bound to an address and listening for connections. The return value
read(n=-1) Read up to n bytes from the memory buffer. If n is not specified or negative, all bytes are returned
socket.getprotobyname(protocolname) Translate an Internet protocol name (for example, 'icmp') to a constant suitable
socket.sendall(bytes[, flags]) Send data to the socket. The socket must be connected to a remote socket. The optional flags
socket.SocketType This is a Python type object that represents the socket object type. It is the same as type(socket(
Page 7 of 22