could I use a PHP script to perform NAT punch-through?
From what I under stand,(Warning: EXTREME paraphrasing ) both NATs send out and wait for the reply, but the initial send out from one will look like a reply to the other and then the 'holes' will be left open.
I have a web server, with PHP support, could I use PHP sockets or HTTP to copy the IP addresses over to the two clients and have them start their 5 or 10 connection attempts, or would the PHP be too slow?
PHP and NAT
I was wondering this a while back. According to some knowledgeable people, no.
See here: http://www.gamedev.net/community/forums ... 1�
(of course they could be wrong. If you do figure out a way, let me know! )
See here: http://www.gamedev.net/community/forums ... 1�
(of course they could be wrong. If you do figure out a way, let me know! )