In MANETs, there are towers for a particular region and if we move out of range of a particular tower while moving we get connected to another tower.
How to implement similar scenario in ns2 if a moving node gets out of range of a particular TCPSINK , then node's sink changes to nearest TCPSINK ?