|
-
Feb 14th, 2005, 08:22 PM
#1
Thread Starter
New Member
routers and winsock
ok simple question if it can't be done which seems to be the case let me know. i have created a semi popular (around 250 users) online game. this game requires someone to "host" and someone to connect. so the host is the server the other is the client. the problem i'm having is people have firewalls and routers and they can not host games. I know they could set up port forwarding and such on the router but frankly the average user is to stupid to do this and i'm not walking 200 people through it. so my question is is their anyway at all to have winsock be a server through a router with having the user do anything on their router?
Also is their a way through code to get and display a users public IP address and not their internal one.
-
Feb 15th, 2005, 04:19 AM
#2
Re: routers and winsock
 Originally Posted by kingofgames999
ok simple question if it can't be done which seems to be the case let me know. i have created a semi popular (around 250 users) online game. this game requires someone to "host" and someone to connect. so the host is the server the other is the client. the problem i'm having is people have firewalls and routers and they can not host games. I know they could set up port forwarding and such on the router but frankly the average user is to stupid to do this and i'm not walking 200 people through it. so my question is is their anyway at all to have winsock be a server through a router with having the user do anything on their router?
Also is their a way through code to get and display a users public IP address and not their internal one.
As far as I am aware no, they need to set up port forwarding when behind a router, when behind a firewall all they need to do is unblock the port you use.
As for getting external IP address for those behind a router have a look here
http://www.vbforums.com/showthread.php?p=1919485
I hope that helps, also do you have a copy of your game? Maybe yo could post it in our Games - Demo section and we can have a try 
Pino
-
Feb 15th, 2005, 09:00 AM
#3
Re: routers and winsock
 Originally Posted by kingofgames999
ok simple question
not really.
is their anyway at all to have winsock be a server through a router with having the user do anything on their router?
Only if the router supports UPnP.
Also is their a way through code to get and display a users public IP address and not their internal one.
Possibly... There are web pages you can load from behind a NAT and the web page will spit out your true IP add.
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Mar 14th, 2005, 11:44 PM
#4
Member
Re: routers and winsock
I'm sure there is a way to unblock your port in code. Commercial games do it. I think?
Kiss, Aerosmith, Black Sabbath, Nazareth, Judas Priest, Status Quo, Cinderella, Scorpions, Tool, SteppenWolf.
-
Mar 15th, 2005, 12:50 AM
#5
Re: routers and winsock
I don't think they unblock ports. What they do is find open ones, and adjust accordingly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|