memcached_server_by_key() returns a memcached_server_instance_st(), not a memcached_server_st().
The structures were similar enough such that at some point in history you could use one for the other, but this was not supported.
If you are rewriting the code I would look at using memcached(). It is much more flexible.
memcached_ server_ by_key( ) returns a memcached_ server_ instance_ st(), not a memcached_ server_ st().
The structures were similar enough such that at some point in history you could use one for the other, but this was not supported.
If you are rewriting the code I would look at using memcached(). It is much more flexible.