memcache_connect
host callCapy
function memcache_connect(host : string = "127.0.0.1", port : s32 = 11211) u64
Description
memcache_connect() opens a connection to a Memcache server.
Do not pass a zero handle to another Memcache function.
The key operations normalize whitespace to underscores. This normalization is transparent. The keys "a b" and "a_b" address the same entry.
Parameters
host : the server host name
port : the server port
Return Values
a connection handle, or zero on failure
Example
Capy
var connection := memcache_connect()
if connection { print("connected\n") } else { print("not connected\n") }