Game Development Community

Hello World example doesn't work over internet

by Max Vollmer · in Torque Game Engine · 12/31/2007 (1:19 am) · 2 replies

Hi there,
I decided to use TNL in my game engine and started with the Hello World example. When testing the network code in my LAN everything works well. But when I use an internet IP the server doesn't receive the message. I created a 10 times reconnection loop to rule out data loss, but still no result. We have tried several ports and port forwarding works fine. When using standard Winsocks with a test application over the same IP and port, the connection works fine. Only the TNL example won't work.

All systems use Microsoft Windows Operation Systems. We tested on XP, Vista and 2003.

I would really like to use TNL for my project, but I can't resolve that problem, so any help or suggestion is appreciated.

Thank you,
Max Vollmer

About the author

Recent Threads


#1
12/31/2007 (4:38 am)
Test with starter.fps first, when everything works well retry with TNL

Info :
-The ports used for connections should be authorized in the operating system for all the PC and on all the ASDL modem

Basic check :
-use ping "IP adresss" where you want to connect => if ping does not work , no chance to connect


Hereafter an example of settings :
-eviwo.free.fr/torque/multiplayer.html,
-this example should be updated regarding your environment , but the main steps are always the same.
#2
12/31/2007 (5:28 am)
Thank your for your answer.
As I said, port forwarding works fine and is setup correctly. A test application using Winsocks is working without problems. A ping test isn't necessary, why should the test application work, if the server wasn't online? ;)

I can't test with starter.fps, because TSE uses a 3D accelerated environment and our server doesn't have 3D hardware. If there is a console application using starter.fps let me know.

The problem occurs as soon as I use an internet IP, even using it on one PC, ie both client and server are running on my computer. When using 127.0.0.1 or my lan IP everything works fine. When using my internet IP the applications can't connect.