[gameprogrammer] TCP/IP Problem: NAT

I am creating a general purpose gaming platform by basically
controlling SDL remotely with RPC calls.

This may be an obvious question, but I have checked the TCP/IP
programming, and Sockets programming FAQs and done some google
searches and still don't see it.

How do you socket progrmming with a machine behind a NAT ?

My application basically works like X-Windows does: it starts up a
server (an SDL engine that listens for RPC calls) and then it makes a
call to another machine to to start up a process that does actual work
and communicates back to the original machine.

However, even if I passed the IP address of the NAT machine if would
not be of any use to the other machine, but I am sure there must be a
way to do this, as X-Windows handles it with no problems.

Any pointers would be appreciated.

-- 
Chris Nystrom <cnystrom@xxxxxxxxx>
http://www.newio.org/~ccn
AIM: nystromchris


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: