I'm writing a P2P application and would like to avoid the need for users to manually set up the port forwarding.
I'm a bit confused since there seem to be two different protocols to configure a NAT, UPnP/IGD and NAT-PMP. Which one should I use? Are they both supported by all NATs? Or should I support both to make sure that at least one of them will be supported by the NAT?