SunQuest
           Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 15th, 2004, 06:18 PM
jmeyeris jmeyeris is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 jmeyeris User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Networking/Port Forwarding Question

I recently had some friends over to play games and I ran into an issue that I really didn't understand but have since read up on. But, I need some more clarification....

I set up a network with a cable modem and a router (with DHCP). We were trying to play Halo on the internet (this uses UDP ports 2302 and 2303). What would happen is that one person would join a game. A second person could also join a different game, but when a third tried to join a different game, one person would get kicked out. Two people could not join the same game at the same time either.

Here is my understanding of the situation:

1) There is one external ip address.
2) There are many internal ip addresses.
3) When a computer behind the router requests data from the Halo server, the single external ip address is sent to the Halo server along with the port information (or maybe the port is assumed, I don't know).
4) When the Halo server returns the information, it sends it to the external ip address with the port information.
5) At this point, how does the router know which computer to send the data to? It would seem to be the one that has that port open. But, how can they both have the same port open? It would seem that only one computer can have that port open at once, so why should I be able to have two simultaneous connections in the first place?
6) The follow on question of course, is what do you do to deal with this situation besides having separate external ip addresses for each connection? How could I host 8 computers on the same external ip address?
--Jay

Reply With Quote
  #2  
Old July 15th, 2004, 10:02 PM
biatch biatch is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Brisbane, Australia
Posts: 7 biatch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by jmeyeris
How could I host 8 computers on the same external ip address?
--Jay


You can. The router you have will be capable of running 8 computers on your network.

The data that is sent is broken down into packets. When a packet comes to your router it looks at the packet for where it's to be sent to. In that packet will be information on where the packet is headed and where it came from.

Reply With Quote
  #3  
Old July 16th, 2004, 05:13 PM
LaughingBelly's Avatar
LaughingBelly LaughingBelly is offline
Who set my Title?
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Posts: 526 LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level)LaughingBelly User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 23 h 26 sec
Reputation Power: 204
It all depends on the router. If the router is UPnP enabled, the game will work just fine on any number of clients. If your router is not UPnP enabled, you may want to open a range of ports UDP 2300 - 2310 instead of just two ports.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > Networking/Port Forwarding Question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway