exception ssl.SSLEOFError A subclass of SSLError raised when the SSL connection has been terminated abruptly. Generally
ssl.PROTOCOL_TLSv1 Selects TLS version 1.0 as the channel encryption protocol.
socket.set_inheritable(inheritable) Set the
SSLContext.wrap_socket(sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None) Wrap
socket.recv_into(buffer[, nbytes[, flags]]) Receive up to nbytes bytes from the socket, storing the data into a buffer
New in version 3.4. Source code:
signal.pthread_sigmask(how, mask) Fetch and/or change the signal mask of the calling thread. The signal mask is the set of signals
socket.connect(address) Connect to a remote socket at address. (The format of address depends on the address
socket.inet_aton(ip_string) Convert an IPv4 address from dotted-quad string format (for example, ‘123.45.67.89’) to 32-bit packed
SSLSocket.context The SSLContext object this SSL socket is tied to. If the SSL socket was created using the top-level
Page 2 of 22