Index: /branches/binary/server/memcached.c
===================================================================
--- /branches/binary/server/memcached.c (revision 727)
+++ /branches/binary/server/memcached.c (revision 730)
@@ -3051,4 +3051,5 @@
             }
             close(sfd);
+            continue;
         } else {
           success++;
@@ -3087,4 +3088,7 @@
 
     freeaddrinfo(ai);
+
+    if (success == 0)
+        return 1;
 
     return 0;
