socket.CMSG_SPACE(length) Return the buffer size needed for recvmsg() to receive an ancillary data item with associated
async_chat.set_terminator(term) Sets the terminating condition to be recognized on the channel. term may be any
SSLContext.check_hostname Whether to match the peer cert’s hostname with match_hostname() in SSLSocket.d
socket.htons(x) Convert 16-bit positive integers from host to network byte order. On machines where the host byte order is the
signal.sigwaitinfo(sigset) Suspend execution of the calling thread until the delivery of one of the signals specified in the
socket.gethostbyaddr(ip_address) Return a triple (hostname, aliaslist, ipaddrlist) where hostname is the
signal.set_wakeup_fd(fd) Set the wakeup file descriptor to fd. When a signal is received, the signal number is written
socket.if_nametoindex(if_name) Return a network interface index number corresponding to an interface name.
socket.detach() Put the socket object into closed state without actually closing the underlying file descriptor. The file descriptor
socket.getfqdn([name]) Return a fully qualified domain name for name. If name is omitted or empty, it is interpreted
Page 18 of 22