S_distantAddress function