c - Memcached timeout -


i found sample code using libmemcached in c/c++. don't understand meaning of 2 timeout:

  1. memcached_timeout of memcached_behavior_set()
  2. expire of memcached_set()

    rc = memcached_behavior_set( memc_primary, memcached_behavior_connect_timeout , memcached_timeout );

    rc = memcached_set( memc_primary, memcached_key_val, memcached_key_len, save_value, strlen( save_value ), expire, 0 );

could please explain used for?

thank much!


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -