ssl.SSLSocket.do_handshake()
  • References/Python/Python/Networking

SSLSocket.do_handshake() Perform the SSL setup handshake.

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

SSLSocket.selected_npn_protocol() Return the higher-level protocol that was selected during the TLS/SSL handshake. If SSLContext

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

socket.gethostbyname(hostname) Translate a host name to IPv4 address format. The IPv4 address is returned as a string, such

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

socket.getnameinfo(sockaddr, flags) Translate a socket address sockaddr into a 2-tuple (host, port). Depending

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

socket.get_inheritable() Get the

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

SSLContext.load_dh_params(dhfile) Load the key generation parameters for Diffie-Helman (DH) key exchange. Using DH key exchange

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

SSLContext.set_default_verify_paths() Load a set of default “certification authority” (CA) certificates from a filesystem path

2025-01-10 15:47:30
ssl.SSLContext.verify_mode
  • References/Python/Python/Networking

SSLContext.verify_mode Whether to try to verify other peers’ certificates and how to behave if verification fails. This attribute

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

socket.makefile(mode='r', buffering=None, *, encoding=None, errors=None, newline=None) Return a file

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

socket.connect_ex(address) Like connect(address), but return an error indicator instead of raising an exception

2025-01-10 15:47:30