Answers
不要用netcat...用telnet就行了。
$ nc localhost 21201 #用nc在set的时候不会结束 set hello 0 0 5 xxxxx asdjasd CLIENT_ERROR bad data chunk ^C $ telnet localhost 21201 #用telnet就没问题 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. set hello 0 0 5 world STORED get hello VALUE hello 0 5 world END
18岁的回忆
answered 10 years, 10 months ago