Index: dmemcache.inc
===================================================================
--- dmemcache.inc	(revision 17)
+++ dmemcache.inc	(working copy)
@@ -182,6 +182,12 @@
       foreach ($memcache_servers as $s => $c) {
         if ($c == $cluster) {
           list($host, $port) = explode(':', $s);
+          
+          // enable connecting to sockets (format: 'unix:///path/to/socket:0') 
+          if (strpos($s, 'unix://') === 0) {
+            $host = "{$host}:{$port}"; // reassemble socket path
+            $port = 0; // port must be 0 if using sockets
+          }
 
           // This is a server that belongs to this cluster.
           if (!$init) {
