Reading knet’s doc
here, it mentioned support for NAT punchthrough, so I was wondering how this can be done with udp.
Anyone found out anything about this?
Network address translator traversal is a computer networking technique of establishing and maintaining Internet protocol connections across gateways that implement network address translation (NAT). NAT traversal techniques are required for many network applications, such as peer-to-peer file sharing and Voice over IP.
In general the best solution is to use UPnP if the router supports it.
No AFAIK. UPnP is high level protocol. IIRC Its NAT traversal feature requires broadcasting HTTP request over UDP.
There are few C libs, but they’re quite low quality IMO.
I considered making a C++ lib for it, though didn’t have a need for it so far.
Internet Gateway Device (IGD) Standardized Device Control Protocol is a protocol for mapping ports in network address translation (NAT) setups, supported by a certain number of NAT-enabled routers. It is a common communications protocol of automatically configuring port forwarding, and is part of an ISO/IEC Standard rather than an Internet Engineering Task Force standard.
Applications using peer-to-peer networks, multiplayer gaming, and remote assistance programs need a way to communicate thro...