Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Help .... tcip multplayer help needed.....

Author
Message
dalmonar
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 7th Jul 2003 22:00
i have now come to the conclusion that i cant host an internet session on my pc....
reason being is that ive tried endlessly to connect with my dads pc via tcip using ip adresses.
i can do it internally on my home network but as soon as i try to go out directly to my dads pc it cant find a session.

i am on ntl broadband and i am wondering if that is the problem.

just hoping some1 has an answer or might be able to confirm and possibly resolve my mystery.


thanks.
shwuckie
23
Years of Service
User Offline
Joined: 9th May 2003
Location: Australia
Posted: 8th Jul 2003 20:14
has either of you got a firewall running? this can prevent the connection

optic blast! megablast! have a blast!!
dalmonar
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 8th Jul 2003 21:55
My dad and myself have firewalls but we turned them off thinking this was the problem but it still wont connect for some reason ... really drivin me nuts now..

ive done loads of code for this game and i intended it to be internet based, i have been able to test it on my internal network thinking itll be just the same on wan, but dissapointed to find it isnt.

1 of my mates told me i need a static ip address , im not sure if thats true , i just assumed that if i aquired my ip address at the time i switch on and try to connect it should work.

Please let me know if im wasting my time on this project . Then maybe i can start something i can complete.

any help will be appreciated.

thanx [b])

dalmonar
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 8th Jul 2003 22:09
on another note to prove that it wasnt just my code i sent my dad the demo prog in the help file to see if itll connect but even that failed.
so i dont think its the code at fault maybe i cant do it through ntl.
ill give p2p a try instead.

waffle
23
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 9th Jul 2003 10:30
there are alot of problems running a home network....

1 - if using a router to share your broadband connection, the router acts as a hardware firewall and will "confuse" most internet traffic. By confuse, read that as NAT the same as the firewalls installed on your other computers. The router will need to be customized to permit one computer to act as a server. That process is far too complex to get into here, but basically it means identifing the port that your app (DBP) will use, the local ISP of the server computer, and other settings. Worst case senario is to create a DMZ for your server computer, and sometimes that won't work right either.

2 - disabling a firewall will sometimes simply close all com ports thus preventing any connections. Win XP default firewall works that way.

I'm currently developing a network tool kit that will provide matchmaking options and permit computers to "bypass" firewalls and router problems. The connections speeds will be somewhat slower, but simpler to use. Basically the method is known as using a proxy server to relay networking data between computers that are behind firewalls. This is how IRC works.

http://www.aimoo.com/forum/freeboard.cfm?id=477182
The Darthster
23
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 9th Jul 2003 12:24
I'm having this problem too with a BT voyager 2000 wireless network, sharing a broadband connection through an external router. I can set up a virtual server or DMZ, but which port number do I use? Is it fixed, or can I change it from within DB?

Once I was but the learner,
now, I am the Master.
Shadowfax
23
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 9th Jul 2003 15:26
Hiyas having similar problems myself .... i can get a session up and running but cant seem to send receive data in that session

One solution is to run your code in a window ... and then run two instances of the program on the same machine.

I run a four node network behind a firewall connected to NTL, the firewall only seems to kick in if i run the program on the machine set up for internet server, and i have to configure the firewall (norton) after each code modification and recompilation. The firewall must make note of the filesize of the allowed exe and double check it.

i have tried to post my code but the msg server seems to kick out when i do

"No Gir ... thats BAD !"
Shadowfax
23
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 9th Jul 2003 15:35
Damn ... wont let me post my code for *some* reason .... is there a limit on code / message size per post ???

Anyhow ... give me a mail and will post you my code so you can play around with it if you wish

"No Gir ... thats BAD !"
shwuckie
23
Years of Service
User Offline
Joined: 9th May 2003
Location: Australia
Posted: 9th Jul 2003 17:48
to find out the port that ya db pro app is using on ya ip connections, have an ip lookup tool or some such to check for the port number. i personally use ip tools. i assume (note: ASSUME) that ya program will use the same port on the internal ip (127.0.0.1) as it does on an actual internet connection. worth a try anyway, cause then ya can do what waffle said to get around it!

optic blast! megablast! have a blast!!
Revolution
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location:
Posted: 9th Jul 2003 21:09
i have also tried a lot. I have managed to make some simple programs work on my internal network but never anything external!
dalmonar
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 10th Jul 2003 02:01
Hya thanx for all the feedback, but unfortunatly still no progress.
i found a simple way of finding the port number tho if it helps any 1.

If u r running xp go into your gateway nw connection thru control panel,properties then click advanced ,then settings there it will show u all the current ports that are open (so you need to have your prog running at this time) .

I dont have a problem testing my program (as i can do that internally) but i still want it to be internet based as well as internal.
dalmonar
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 10th Jul 2003 02:10
BTW my internet connection is shared via ics my machine is the gateway to the internet.So im not sure if the info u given is relevant.


I am planning on getting a router soon.
Gu re gu
23
Years of Service
User Offline
Joined: 14th Dec 2002
Location: United Kingdom
Posted: 10th Jul 2003 02:16
:p hehehehe I've been having this problem as well.
I'm not behind a firewall or anything. I've tried running a network prgram made in DB across internet using IPs and it can't find the sessions.
'course this doesn't help anyone. Just thought i'd get my point across

Daih thel phae 'e, clann 'e phaen
Blame it on INSANITY!

Login to post a reply

Server time is: 2026-07-18 05:38:06
Your offset time is: 2026-07-18 05:38:06