app/code/community/Nexcessnet/Turpentine/Helper/Varnish.php
public function getSockets() {
        $sockets = array();
        $servers = Mage::helper('turpentine/data')->cleanExplode(PHP_EOL,
            Mage::getStoreConfig('turpentine_varnish/servers/server_list'));
        $key = str_replace('\n', PHP_EOL,
            Mage::getStoreConfig('turpentine_varnish/servers/auth_key'));
        $version = Mage::getStoreConfig('turpentine_varnish/servers/version');
        if ($version == 'auto') {
            $version = null;
        }
        foreach ($servers as $server) {
            $parts = explode(':', $server);
            $sockets[] = $this->getSocket($parts[0], $parts[1], $key, $version);
        }
        return $sockets;
    }
public function getSockets() {
        $sockets = array();
        $servers = Mage::helper('turpentine/data')->cleanExplode(PHP_EOL,
            Mage::getStoreConfig('turpentine_varnish/servers/server_list'));
        $key = str_replace('\n', PHP_EOL,
            Mage::getStoreConfig('turpentine_varnish/servers/auth_key'));
        $version = Mage::getStoreConfig('turpentine_varnish/servers/version');
        if ($version == 'auto') {
            $version = null;
        }
        foreach ($servers as $server) {
            $parts = explode(':', $server);
            $sockets[] = $this->getSocket($parts[0], $parts[1], $key, $version);
        }
        return $sockets;
    }
public function getSockets ( ) { $ sockets = array ( ) ; $ servers = Mage :: helper ( 'turpentine/data' ) -> cleanExplode ( PHP_EOL , Mage :: getStoreConfig ( 'turpentine_varnish/servers/server_list' ) ) ; $ key = str_replace ( '\n' , PHP_EOL , Mage :: getStoreConfig ( 'turpentine_varnish/servers/auth_key' ) ) ; $ version = Mage :: getStoreConfig ( 'turpentine_varnish/servers/version' ) ; if ( $ version == 'auto' ) { $ version = null ; } foreach ( $ servers as $ server ) { $ parts = explode ( ':' , $ server ) ; $ sockets [ ] = $ this -> getSocket ( $ parts [ 0 ] , $ parts [ 1 ] , $ key , $ version ) ; } return $ sockets ; }
Get management sockets for all the configured Varnish servers

@return array
Get management sockets for all the configured Varnish servers