Multiple paths are set by application layer overlay. The proposed algorithm is able to converge under different network models, where each model reflects a different set of assumptions about the multicast capabilities of the network. The algorithm is derived from the stochastic approximation of simultaneous perturbation and is based only on noisy estimates of the measurements. The results of the simulation are presented to demonstrate the additional benefits obtained by incrementally increasing the multicast capabilities. The main application of the ad hoc mobile network is in emergency rescue operations and battlefields. This article addresses the problem of power routing to increase the useful life of the network in general. Since nodes in the mobile ad hoc network can move randomly, the topology can change arbitrarily and often in unpredictable times. Transmission and reception parameters can also affect the topology. Therefore, it is very difficult to find and maintain an optimal route of energy consumption. In this work, a scheme has been proposed to maximize the useful life of the network and to minimize the energy consumption during the establishment of the route establishment. The proposed work is intended to provide efficient routing of energy taking into account real and non-real-time data transfer.