Initial routine for net service discovery.