## 1 Introduction  
Recently, the ICT-based healthcare gave rise to improved concepts of applying medicine and clinical surgery services remotely using telecommunications, named tele-medicine. Tele-medicine is letting healthcare professionals remotely inspect patients and access health information through telecommunication links or applications. Tele-medicine offers more flexibility for remote service users in rural and isolated areas with limited medical facilities and resources. Specialist healthcare professionals (HPs) can diagnose and consult patients remotely, with the help and monitoring of the local medical personnel who administer to the patients directly. The main enabler of tele-medicine is the telecommunication link and associated technological platform, in terms of mobile communication and video conferencing. The near-ubiquitous availability of the Internet in recent years had broadened the scope of tele-medicine. The concept of telemedicine is implemented in the following three ways [1]. 1. Buffering and forward: this is an asynchronous process and does not require both parties to be in contact at the same time. Health information and medical records of the patient are sent to the doctors for evaluation. The doctors check the reports at their convenient time and give descriptions by providing more instructions to the local medical staffs. 2. Remote monitoring: the physician monitors the patient's vital statistics remotely. 3. Real-time interaction traffic: physician and patient from remote place interact in real-time either at home or a nearby medical facility [2]. The modern network for which we aim, resembles the scenario depicted in Figure 1. A wide area network, encompassing a huge number of Internet-enabled end-users with connection devices generating requests to diverse IoT applications to support services such as smart health, intelligent transportation, and environmental monitoring. We assume multi-access points with its edge are connected where IoT applications are hosted on edge servers, fog nodes that are accessible through WiFi. In addition, we assume that there is a backbone network infrastructure available to interconnect the APs with each other's access points. Hence, there are some APs not required to host edge servers, or in some cases can host an edge server but not support a particular IoT application. This has lead to scenarios where a given device can access all applications on edge servers co-located with APs. Therefore, the various edge servers hosting IoT applications should be accessible by devices from various locations via the backbone network infrastructure. The proposed idea is to figure out and convey all the networks by computing a reliable path between each node to construct the full path between source and destination. This path can be used in healthcare services for doing tele-surgery and any other instruction operations. The computed path will rely on many different parameters such as the jitters, delay and BW. However, regarding the huge number of users using the internet because of the e-learning distance then we are considering the on/off-peak time to make our test results more reliable. The proposed algorithm is forwards the packets to the required destination as the path will be used only for passing the labeled packets. In case the nodes received a huge number of packets, the node buffers will remain those of the early received packets until they are forwarded to the destination without delay, avoiding losing any of them. New devices, such as smartphones, improved routers and PCs, have created a paradigm shift in the potentialities of healthcare services delivery, commensurate with the development of the IoT, and associated smart urban technology. IoT can be explained as a set of interconnected things (humans, tags, sensors, security, policies, etc.) over the IP, with the capability to compute and communicate between users. The main idea behind the IoT is to  
Figure 1: Smart Internet of Things (IoT) network environment.