socket.getpeername() Return the remote address to which the socket is connected. This is useful to find out the port number
size() Return the length of the file, which can be larger than the size of the memory-mapped area.
class ssl.SSLSocket(socket.socket) SSL sockets provide the following methods of
socket.sendto(bytes, address) socket.sendto(bytes, flags, address) Send data to the socket. The socket should not
async_chat.discard_buffers() In emergencies this method will discard any data held in the input and/or output buffers and the
readable() Called each time around the asynchronous loop to determine whether a channel’s socket should be added to the list
SSLContext.options An integer representing the set of SSL options enabled on this context. The default value is OP_ALL
socket.gethostbyaddr(ip_address) Return a triple (hostname, aliaslist, ipaddrlist) where hostname is the
socket.inet_pton(address_family, ip_string) Convert an IP address from its family-specific string format to a packed, binary
signal.sigwaitinfo(sigset) Suspend execution of the calling thread until the delivery of one of the signals specified in the
Page 21 of 22