The service discovery time is the result of execution of various API calls as follows. First, it is worthwhile noting that the Avahi program is written in C language; however Avahi presents bindings for other programming languages. So, after examining the list of headers in the main program, located under ‘‘Avahi-Discover-Standalone’’ (Fig. 11) directory, we found that the service discovery is using basically the functions of Avahi-core which is in fact a library used by many other packages, such as the Avahi-daemon. We found that most of the service discovery time is consumed by the functions of the Avahi-core (Avahi-core itself uses some services of Avahi-common and Avahi-glib).