How about this for a suspend/resume idea: Just before the client go
out and ask for a key block, it checks to see if a file with a certain
file name exists in the local directory (say, des-susp). If it
doesn't exist, then it keeps on going. Otherwise, it goes into a loop
of sleeping and waking up to check if the file is still there (say
every 5 minutes).
This has the advantage that the client will not be stopped until
the current key block is done.
Comments, anyone?
Howard
-- Howard Cheng e-mail: hcheng@gpu.srv.ualberta.ca University of Alberta hcheng@cs.ualberta.ca 4th year Honors Comp. Sci. URL : http://ugweb.cs.ualberta.ca/~hcheng/Mathematics: the only profession where absentmindedness is institutionalized.