So I've been looking into sockets and stuff, mostly c++. I've learned (not yet executed cuz I'm lazy) non-blocking IO, and once I actually start working on my project I may just have a really nice overall structure for the server to hold a lot of clients.
With the server it was always a given I'd have to port forward. And clients don't need to. But that got me thinking. Torrent clients in general don't seem to need router port forwarding, and they're peer to peer. So how does that work?? Multiple times around the client you see "Port Forwarding". But what kind of port forwarding is that?
Am I missing something really freaking obvious here or just asking the wrong question? I can't seem to be able to find any answers to this.
So how does port forwarding for peer to peer work? If that's the right thing to even ask.
Thank you for your time!