Eecient Communication in Unknown Networks