socket.getfqdn([name]) Return a fully qualified domain name for name. If name is omitted or empty, it is interpreted
signal.set_wakeup_fd(fd) Set the wakeup file descriptor to fd. When a signal is received, the signal number is written
socket.detach() Put the socket object into closed state without actually closing the underlying file descriptor. The file descriptor
socket.getsockname() Return the socket’s own address. This is useful to find out the port number of an IPv4/v6 socket, for instance
handle_read() Called when the asynchronous loop detects that a read() call on the channel’s socket will succeed
SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None) Load a set of “certification authority” (CA) certificates
socket.setsockopt(level, optname, value) Set the value of the given socket option (see the Unix manual page
SSLContext.session_stats() Get statistics about the SSL sessions created or managed by this context. A dictionary is returned
ssl.PROTOCOL_SSLv23 Selects the highest protocol version that both the client and server support. Despite the name, this option
socket.gethostbyname_ex(hostname) Translate a host name to IPv4 address format, extended interface. Return a triple (hostname
Page 20 of 22