I have this game that works on a simple TCP/IP engine, this works fine on computers within the same network. What I'm wondering is how you declare the gateway IP before the actual computers IP. I know that you have to do so because the router has some sort of protection so that only things from the internet can get it's IP and not the IP of all the computers connected to it.
the code that will work with computers in the same network is:
Global ip$="111.111.1.11"
but I want people to access the server from their computer that might be far away, but still connected to the internet.
I've tried things like global ip$="111.111.1.111: 111.111.1.11" to try to get through the router, the first set being the routers IP and the other set after the ":" is the computers IP.
I don't even know if this is possible, or if you have to make the server connected to the internet directly.
Thanks for any help
Andrew
the code that will work with computers in the same network is:
Global ip$="111.111.1.11"
but I want people to access the server from their computer that might be far away, but still connected to the internet.
I've tried things like global ip$="111.111.1.111: 111.111.1.11" to try to get through the router, the first set being the routers IP and the other set after the ":" is the computers IP.
I don't even know if this is possible, or if you have to make the server connected to the internet directly.
Thanks for any help
Andrew