|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-12-24 08:00 UTC] 38184788 at qq dot com
Description:
------------
$b = new MemcachePool;
$startTime = microtime(true);
$b->connect("udp://127.0.0.1",16222);
$d = $b->get("testKey");
var_dump($d);
====================
the result is false
and some error
SERVER_ERROR multi-packet request not supported
what problem?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
i use memcached 2.1 code: $memcached = new Memcached(); $memcached->setOption(Memcached::OPT_BINARY_PROTOCOL, true); $memcached->setOption(Memcached::OPT_USE_UDP, true); $memcached->addServer('127.0.0.1', 16222); result : not work a normal but i find the request did't came to the server when use tcpdump trace if use tcp all is normal