How to get my minecraft to connect to the internet?

My minecraft and anything related to it won't connect to the internet. They used to, because i got the horse update in snapshots and when I opened snapshots it would say "play" and it would automatically update. But now it says "play offline" and I don't get the updates. Also, in technic and plain minecraft it says "can't connect to minecraft.net " in minecraft I can click "play offline" but I can only close technic. I can't connect LAN worlds ether.

No I don't play mc anymore but that happens to me two it's really annoying that means the entire MC server is down and it can be down for hours