SSLSocket.server_side A boolean which is True for server-side sockets and False for client-side sockets
ssl.match_hostname(cert, hostname) Verify that cert (in decoded format as returned by SSLSocket.getpeercert())
recv(buffer_size) Read at most buffer_size bytes from the socket’s remote end-point. An empty bytes object implies
SSLSocket.selected_alpn_protocol() Return the protocol that was selected during the TLS handshake. If SSLContext.set_
read_byte() Returns a byte at the current file position as an integer, and advances the file position by 1.
socket.share(process_id) Duplicate a socket and prepare it for sharing with a target process. The target process must be provided
New in version 3.4. Source code:
class asyncore.file_dispatcher A file_dispatcher takes a file descriptor or file object
socket.recv_into(buffer[, nbytes[, flags]]) Receive up to nbytes bytes from the socket, storing the data into a buffer
async_chat.push(data) Pushes data on to the channel’s fifo to ensure its transmission. This is all you need to do to have the
Page 2 of 22