tm: set send socket flag when computing the destination and local socket is found