It just depends on how much you want to learn, and how far in depth about hacking. I would say to learn as much as you can about networking protocols and basics of networking. From there, you will learn how the other things come into play, such as programming and exploiting.