as you said, memcached request is not possible as you want ... but here is a php example that I found that returns a list of keys
http://snipt.org/xtP
sends
and then iterate the returned items and sends
42 - position number, 100 - number of items to return
then you can iterate over the returned keys and delete the keys that you no longer need.
(but this is an ugly workaround anyway ...)
source
share