memcached is not a telnet server (though some telnet clients work fine with our text protocol)
You would be far better off using a memcached client to speak to memcached than a telnet client. It sounds like you have one that works. On May 25, 10:34 am, "Tim Sneed" <[email protected]> wrote: > Hey all, > > I am attempting to use a standard Java telnet client > (commons.net.TelnetClient) but am having some trouble completing the > connection. Once I run my Java test I see on the memcached console "<30 new > auto-negotiating client connection" but then it just hangs there, eventually > timing out with no exception being thrown. > > When I use the spymemcached I can connect no problem but I want to reduce > the overhead since I am only interested in sending the STATS command at a > set interval. Has anyone done this where they use a simple Telnet socket > connection from Java to issue commands rather than using a Java memcached > client such as spymemcached? Any info would be greatly appreciated, thanks! > > -ts
