SSLContext.set_alpn_protocols(protocols) Specify which protocols the socket should advertise during the SSL/TLS handshake. It
socket.sethostname(name) Set the machine’s hostname to name. This will raise an
socket.create_connection(address[, timeout[, source_address]]) Connect to a TCP service listening on the Internet address
socket.listen([backlog]) Enable a server to accept connections. If backlog is specified, it must be at least 0 (if
ssl.OP_NO_TLSv1 Prevents a TLSv1 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23
ssl.PROTOCOL_SSLv3 Selects SSL version 3 as the channel encryption protocol. This protocol is
ssl.create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=None) Return a new SSLContext
socket.CMSG_LEN(length) Return the total length, without trailing padding, of an ancillary data item with associated data of
resize(newsize) Resizes the map and the underlying file, if any. If the mmap was created with ACCESS_READ or
SSLContext.cert_store_stats() Get statistics about quantities of loaded X.509 certificates, count of X.509 certificates flagged
Page 13 of 22