socket.CMSG_SPACE()
  • References/Python/Python/Networking

socket.CMSG_SPACE(length) Return the buffer size needed for recvmsg() to receive an ancillary data item with associated

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

async_chat.set_terminator(term) Sets the terminating condition to be recognized on the channel. term may be any

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

SSLContext.check_hostname Whether to match the peer cert’s hostname with match_hostname() in SSLSocket.d

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

socket.htons(x) Convert 16-bit positive integers from host to network byte order. On machines where the host byte order is the

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

signal.sigwaitinfo(sigset) Suspend execution of the calling thread until the delivery of one of the signals specified in the

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

socket.gethostbyaddr(ip_address) Return a triple (hostname, aliaslist, ipaddrlist) where hostname is the

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

signal.set_wakeup_fd(fd) Set the wakeup file descriptor to fd. When a signal is received, the signal number is written

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

socket.if_nametoindex(if_name) Return a network interface index number corresponding to an interface name.

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

socket.detach() Put the socket object into closed state without actually closing the underlying file descriptor. The file descriptor

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

socket.getfqdn([name]) Return a fully qualified domain name for name. If name is omitted or empty, it is interpreted

2025-01-10 15:47:30