Unless you are talking about a particular software package called "framework" that appears to be one of those trendy words that just means "software development". The one guy I know that called it that, that I felt was a fool, thought he could cut and paste together a bunch of prewritten code samples and call that programming.
Software development is extremely broad topic. There is a huge difference between software that runs internal to a car computer, to say a banking program, to apps that run on a phone. The fundamental concepts are the same but each uses very specialized packages of programming tools and those are what companies want knowledge in. Nobody actually is a expert in all they all tend to specialize in one type of programming.
Networking on the surface may appear to be easier because people are looking at small installations with few devices. You start looking at jobs at ISP where you actually have many hundreds of routers in the internet or a large corporation with many thousands of employees at many locations it gets complex very fast.
What is much more important is which you like to do better. You can likely start to learn the basics of both and you will find one easier at least to you. Something you like to do will be much easier to learn even if it is actually more technical to accomplish it.