For any site on the network you can get the sites URL from Home_url() or site_url(), but if you are on a sub-blog and want the URL of your main blog you need to use network_home_url().
For any site on the network you can get the sites URL from Home_url() or site_url(), but if you are on a sub-blog and want the URL of your main blog you need to use network_home_url().