Sample C++ Code To Connect to memcached server

Michael Wieher michael.wieher at gmail.com
Fri Jun 20 21:32:45 UTC 2008


Yeah, the API is simple, but there's few actual examples, but there
are a number of great mini-examples in the file

<tarballroot>/tests/function.c

I had trouble with the documentation also, not so much its
functionality, but how-to-use it, just getting started.

On Fri, Jun 20, 2008 at 4:25 PM, Brian Aker <brian at tangent.org> wrote:
> Hi!
>
> On Jun 20, 2008, at 2:19 PM, Joyesh Mishra wrote:
>
>> I need few sample code which use the memcached c++ apis (brian aker's) &
>> show how to add servers, initialize structures, make dedicated connection
>> for fetching keys etc .. I mean all the work which needs to be done before
>> sitting and happily doing get() and set() of keys (and ofcourse worrying
>> about locks and consistency and other big issues).
>
> What are you looking for? The C++ API in libmemcached is simple (and frankly
> too simple). I'd love to see someone extend/take an interest in it.
>
> Cheers,
>        -Brian
>
>
> --
> _______________________________________________________
> Brian "Krow" Aker, brian at tangent.org
> Seattle, Washington
> http://krow.net/                     <-- Me
> http://tangent.org/                <-- Software
> _______________________________________________________
> You can't grep a dead tree.
>
>
>
>


More information about the memcached mailing list