move(dest, src, count) Copy the count bytes starting at offset src to the destination index dest
socket.htons(x) Convert 16-bit positive integers from host to network byte order. On machines where the host byte order is the
socket.has_ipv6 This constant contains a boolean value which indicates if IPv6 is supported on this platform.
connect(address) As with the normal socket object, address is a tuple with the first element the host to connect to
SSLContext.set_npn_protocols(protocols) Specify which protocols the socket should advertise during the SSL/TLS handshake. It
SSLSocket.compression() Return the compression algorithm being used as a string, or None if the connection isn’t
handle_expt() Called when there is out of band (OOB) data for a socket connection. This will almost never happen, as OOB is
listen(backlog) Listen for connections made to the socket. The backlog argument specifies the maximum number of queued
SSLSocket.getpeercert(binary_form=False) If there is no certificate for the peer on the other end of the connection, return
seek(pos[, whence]) Set the file’s current position. whence argument is optional and defaults to os.SEEK_SET
Page 16 of 22