Net-game, how can you test on a single PC?

Blitz3D Forums/Blitz3D Programming/Net-game, how can you test on a single PC?

Paolo(Posted 2005) [#1]
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!


Shambler(Posted 2005) [#2]
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.


Baystep Productions(Posted 2005) [#3]
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.


ozak(Posted 2005) [#4]
Yup. You can use both localhost and 127.0.0.1


Paolo(Posted 2005) [#5]
Problem solved,

thanks guys :)


Red Ocktober(Posted 2005) [#6]
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


Paolo(Posted 2005) [#7]
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 ...