On Dec 14, 8:21 pm, Prashu <[email protected]> wrote:
> Thanks Lee for your reply. My code directly contact with memcached..
> is there any restriction of key size?

  The key must be smaller than 256 bytes.

> following is my code..

  It'd be easier for us to work with this if you cleaned it up a bit
and made it more directly demonstrate your failure:

  1) Don't show us tons of commented-out code.
  2) Reduce it to the actual failure you're seeing.

e.g. if you think you can't handle nine characters, write a function
that does the exact set and get that you are having failing and
nothing more so that we can see the failure.

Your code is showing C++ iostreams filling character arrays from
somewhere and then passing that to a bunch of code which you think is
not working properly in some way.  it'd be much easier to help with
something that looks more like this:

    assert(functionDoesWhatIWant("somekeythatfails"));

Reply via email to