direct and relayed connections