#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
+#include <time.h>
long int timedif(struct timeval a, struct timeval b)
{
string= memcached_get(memc, key, strlen(key),
&string_length, &flags, &rc);
- WATCHPOINT_ERRNO(memc->my_errno);
- WATCHPOINT_ERROR(rc);
assert(rc == MEMCACHED_SUCCESS);
assert(string);
assert(string_length == value_length);
memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_MD5_HASHING, &set);
value= memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_MD5_HASHING);
assert(value == 0);
+
+ value= memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE);
+ assert(value > 0);
+
+ value= memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE);
+ assert(value > 0);
}
/* Test case provided by Cal Haldenbrand */