c to memcached