Was able to repair driver and get database logging going. The read socket routine was based on the old warts structure of the struct, so rather than modifying that and making my new warts file incompatible with my old I used a local old definition of the struct to handle the data. That worked fine and restored the correct values to the fields of the struct.
I applied the formulae for stopping probabilities and generated the first few (k,n) results in a spreadsheat and then a C program.
The matlab program from Veitch is incomplete.
I possibly need a program that can have a variable number of nested loops. I think that I will use recursion to do that.
I have done up to k=5 for four confidence levels: 95%, 99%, 99.9%, 99.99%.