[gameprogrammer] Re: TCP/IP Problem: NAT
- From: Simon <simon@xxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 19 Nov 2004 14:52:02 -0500
Hi Chris,
Are the computers on the same LAN? If so they have the same gateway and you
can access them directly.
If they are in a different LAN - ie. internet vs lan - in that case, your
gateway or router has to be configured to pass incoming connections to a
certain
port to a certain address inside the LAN, or the connection will be dropped at
the router.
The way around this, in case you cannot control the firewall, is to have your
LANed computers connect to the outside, that will work.
If this doesn't help, a better description of the network you are talking about
may be very useful!
HTH,
Simon
PS: I'm new to the list, Hello World!
Chris Nystrom wrote:
> 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.
>
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] TCP/IP Problem: NAT
- From: Chris Nystrom
Other related posts:
- » [gameprogrammer] TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- » [gameprogrammer] Re: TCP/IP Problem: NAT
- [gameprogrammer] TCP/IP Problem: NAT
- From: Chris Nystrom