314
314
/* We just try the first host, and if it is down we return zero */
315
315
if ((memcached_connect(instance)) != MEMCACHED_SUCCESS)
320
320
if (memcached_io_wait_for_write(instance) != MEMCACHED_SUCCESS)
325
325
if (getsockopt(instance->fd, SOL_SOCKET, SO_SNDBUF, &sock_size, &sock_length) < 0)
327
327
ptr->cached_errno= errno;