NatTraversal
Build NAT to NAT tunnel with a third-party php server.
NatTraversal: Build NAT to NAT tunnel with a third-party php server.
NatTraversal also need an stun server to obtain the mapped (public) IP address
(NAT address) and port number that the NAT has allocated for the application's
User Datagram Protocol (UDP) connections to remote hosts.
Usage:
copy www/* to your php server, and chmod all *.txt file, make sure we
can read and write to this files through php.
change the define 'NAT_PHP_URL' in main.c to the right url of yours.
make sure...