Hi Brain, You might have suggested this page http://docs.libmemcached.org/memcached_quit.html . But If I understand correct the question is different , I don't want to disconnect client form the server . Client will keep on running and don't want to disturb the process but in the middle of the process , if the server gets restarted client is not able to make a new connection after the server resumption . I also have a same kind of requirement and searched in google but didn't get any thing concrete , so I am going through the code to make changes since a week now .
-Amaravathi On Tue, Aug 30, 2011 at 5:52 PM, Brian Aker <br...@tangent.org> wrote: > You can modify behaviors around reconnect, look at behaviors on > <http://docs.libmemcached.org>docs.libmemcached.org > > Calling memcached_quit on the _St will cause a reset. > > > Sent from my C64 > > On Aug 29, 2011, at 11:33 PM, 然 安 <nuanran...@yahoo.com.cn> wrote: > > Hi,all: > I use libmemcached as the client and create a memcached_st instance > to transfer datas. The problem is that the memcached_st instance can't > connect to the memcached server after the server is stopped and > restarted. How can I resolve this problem except restarting the > client? Thank you for your reply. > > > >