ssl.match_hostname()
  • References/Python/Python/Networking

ssl.match_hostname(cert, hostname) Verify that cert (in decoded format as returned by SSLSocket.getpeercert())

2025-01-10 15:47:30
asynchat.async_chat.collect_incoming_data()
  • References/Python/Python/Networking

async_chat.collect_incoming_data(data) Called with data holding an arbitrary amount of received data. The default method

2025-01-10 15:47:30
ssl.SSLSocket.selected_alpn_protocol()
  • References/Python/Python/Networking

SSLSocket.selected_alpn_protocol() Return the protocol that was selected during the TLS handshake. If SSLContext.set_

2025-01-10 15:47:30
asyncore.dispatcher.handle_connect()
  • References/Python/Python/Networking

handle_connect() Called when the active opener’s socket actually makes a connection. Might send a “welcome” banner, or initiate

2025-01-10 15:47:30
ssl.RAND_bytes()
  • References/Python/Python/Networking

ssl.RAND_bytes(num) Return num cryptographically strong pseudo-random bytes. Raises an SSLError if the

2025-01-10 15:47:30
signal.pthread_sigmask()
  • References/Python/Python/Networking

signal.pthread_sigmask(how, mask) Fetch and/or change the signal mask of the calling thread. The signal mask is the set of signals

2025-01-10 15:47:30
socket.socket.recv_into()
  • References/Python/Python/Networking

socket.recv_into(buffer[, nbytes[, flags]]) Receive up to nbytes bytes from the socket, storing the data into a buffer

2025-01-10 15:47:30
socket.socket.share()
  • References/Python/Python/Networking

socket.share(process_id) Duplicate a socket and prepare it for sharing with a target process. The target process must be provided

2025-01-10 15:47:30
socket.socket.fileno()
  • References/Python/Python/Networking

socket.fileno() Return the socket’s file descriptor (a small integer), or -1 on failure. This is useful with

2025-01-10 15:47:30
asyncore.dispatcher.handle_accept()
  • References/Python/Python/Networking

handle_accept() Called on listening channels (passive openers) when a connection can be established with a new remote endpoint

2025-01-10 15:47:30