Net-game, how can you test on a single PC?
Blitz3D Forums/Blitz3D Programming/Net-game, how can you test on a single PC?
| ||
I remember that in win98 I used "127.0.0.1" as the IP to contact and I was able to run many instances of a network game on a single PC for testing purpose, this does not seem to be the case under winXP, any way to do this then??? thanks! |
| ||
Just did a quick google search and it seems there is a problem connecting to 'addresses in the loopback address range'...but it says addresses other than 127.0.0.1 may be a problem. This article may or may not help then...http://support.microsoft.com/default.aspx?scid=kb;en-us;884020 Other than that check your firewall settings. |
| ||
I think you can set the IP to "localhost" in OpenTCPStream command. That will call your own IP for the consel server prgram you have running. |
| ||
Yup. You can use both localhost and 127.0.0.1 |
| ||
Problem solved, thanks guys :) |
| ||
Paolo... i'll be available for testing via the net... it's best to test multiplayer in the actual real time networking environment... a few problems not noticable on a local machine, or even on a lan can become apparent testing over the net... email me when you decide to test over the wires... --Mike |
| ||
Thanks Mike, always counting with you :) I'm still far away from a good beta test but I'm testing some simple net stuff using molebox's EXEs, I don't know why but sometimes a "moleboxed" exe gives some problems during execution when sending and receiving data on a net-game ... anyway, will see how it comes ... |