So, the solution:
1) First go to Windows->Preferences->Update/Install sites and for one of the sites click the Test Connection tab on the right.
2)If it takes long and does not connect to the repos site, that means there is something wrong with your eclipse setting or the the test site. Here, we assume that there is something wrong with your eclipse settings and try to retify it.
3)There must be a proxy server which your company must be enabling, so u need to give proxy data with Manual mode in Windows->Preferences->General->Network. Give it for all 3, HTTP,HTTPS and SOCK.
4)Again, go to step 2 and try it. If it still does not work then in Step 3 just clear the SOCK proxy details. Because your company might not be enabling a SOCL proxy and eclipse first check for SOCK and then HTTP.
5)Again try Step 2 and it should be working.. Congrats!!!!
4)Again repeat