(no version information, might be only in CVS)
Memcache::addServer -- Add a memcached server to connection pool
( string host [, int port [, bool persistent [, int weight [, int timeout [, int retry_interval]]]]] )
Memcache::addServer() adds a server to the connection
pool. The actual connection is established on first use.
The connection, which was opened using
Memcache::addServer() will be automatically closed at the
end of script execution. Also you can close it with
You can also use the memcache_add_server() function.
Failover may occur at any stage in any of the methods, as long as other
servers are available the request the user won't notice. Any kind of
socket or Memcached server level errors (except out-of-memory) may trigger
the failover. Normal client errors such as adding an existing key will not
trigger a failover.
This function has been added to Memcache version 2.0.0.