SSLSocket.write(buf) Write buf to the SSL socket and return the number of bytes written. The buf argument
connect(address) As with the normal socket object, address is a tuple with the first element the host to connect to
SSLSocket.getpeercert(binary_form=False) If there is no certificate for the peer on the other end of the connection, return
asyncore.loop([timeout[, use_poll[, map[, count]]]]) Enter a polling loop that terminates after count passes or all open channels
class asyncore.dispatcher_with_send A dispatcher subclass which adds simple buffered output capability, useful
listen(backlog) Listen for connections made to the socket. The backlog argument specifies the maximum number of queued
socket.socket(family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None) Create a new socket using the given address family, socket
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
SSLSocket.read(len=1024, buffer=None) Read up to len bytes of data from the SSL socket and return the result as a bytes
Page 17 of 22