exception socket.gaierror A subclass of
ssl.RAND_status() Return True if the SSL pseudo-random number generator has been seeded with ‘enough’ randomness
socket.fromfd(fd, family, type, proto=0) Duplicate the file descriptor fd (an integer as returned by a file object’s
exception socket.error A deprecated alias of
pending Return the number of bytes currently in the memory buffer.
exception ssl.SSLError Raised to signal an error from the underlying SSL implementation (currently provided by the OpenSSL library)
socket.proto The socket protocol.
socket.setdefaulttimeout(timeout) Set the default timeout in seconds (float) for new socket objects. When the socket module
write_byte(byte) Write the integer byte into memory at the current position of the file pointer; the file position
socket.getprotobyname(protocolname) Translate an Internet protocol name (for example, 'icmp') to a constant suitable
Page 6 of 22