ssl.OP_NO_TLSv1_2 Prevents a TLSv1.2 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23
socket.accept() Accept a connection. The socket must be bound to an address and listening for connections. The return value
SSLContext.set_servername_callback(server_name_callback) Register a callback function that will be called after the TLS Client
socket.setdefaulttimeout(timeout) Set the default timeout in seconds (float) for new socket objects. When the socket module
socket.inet_ntoa(packed_ip) Convert a 32-bit packed IPv4 address (a bytes-like object
socket.getsockopt(level, optname[, buflen]) Return the value of the given socket option (see the Unix man page
closed True if the file is closed. New
handle_accepted(sock, addr) Called on listening channels (passive openers) when a connection has been established with a new
signal.sigtimedwait(sigset, timeout) Like sigwaitinfo(), but takes an additional timeout argument specifying
ssl.RAND_status() Return True if the SSL pseudo-random number generator has been seeded with ‘enough’ randomness
Page 6 of 22