Most of the important networking happens naturally and is never a forced thing. I worked with a group about 20 years ago now, doing some stuff that was groundbreaking and we all still keep in touch and will absolutely vouch for one another and get each other jobs if we need to, but not once did I ever think about my time with them as networking. Same with some other jobs as well. But that DBA guy on another team that I was constantly having to pull teeth with to get any work out of that sent me a linkedin request? Its probably better for him that I forget his name and give him a second chance then remember how mediocre I felt he was.
I have been to conferences, and spoken at my share of them, and there are always "Networking" events around these, and even when I was actively hiring and looking around the room- with something to offer!- none of these resulted in any meaningful or long lasting relationships.
Yes, having a network is important. But the way to build it is to earn the trust, respect, and friendship of those around you. I mean I guess you can push this along a bit by going to happy hour and trying to bond a bit, but networking to me is 95% an organic thing and not something you should force, especially in tech.
I guess a caveat to that is that some people have to- and should- work to be generally likable. I have known some very smart people I would really prefer to never have to work with again.