(self)
Close the connection.
Close the connection.
Close the connection .
def close(self):
        """Close the connection."""
        if self.sock:
            self.sock.close()
        self.sock = 0
        self.eof = 1
        self.iacseq = b''
        self.sb = 0
def close ( self ) : if self . sock : self . sock . close ( ) self . sock = 0 self . eof = 1 self . iacseq = b'' self . sb = 0