There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot browser bsod computer connection cpu crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor network networking outlook outlook 2003 outlook 2007 outlook express password popups problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Question about port forwarding


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Infil's Avatar
Junior Member with 1 posts.
 
Join Date: May 2008
19-May-2008, 04:51 AM #1
Question about port forwarding
Hi everyone. I think I am posting this question in the right forum. If not, please move it appropriately.

I am building a C# application (or, more accurately, have already built) which can be thought of as an IRC-like chat room. A user runs my program in "server" mode and starts a lobby, accepting incoming connections on a certain port. Other users start my program in "client" mode, and then connect to the lobby directly using the host's IP address and port.

The problem is, of course, port forwarding. There are good guides at portforward.com and the like, I understand, but I'm unsure of a few things. Namely, what about those people who would like to host a server and are on, say, a university network? Or what about those who are hooked up to a DSL modem or something where port forwarding is difficult or not possible? I have a friend in particular who is using an old cable box, and it does not look possible for him to host a lobby without going to a store and buying a router (which would, of course, limit the appeal of my program in the real world if this is a common problem).

I guess what I'm asking here is, is there a situation where a certain person simply will not be able to host, because he can't set up port forwarding properly due to restrictions at university or the like? I actually don't know how difficult it is to set up port forwarding in these cases, since I get my internet from a local provider, and we use a router to send it to all of our home machines (i.e., port forwarding is easy for me). I don't imagine someone who lives in a university dorm has the same luxury.

I should also specify that running a version of the program on a permanent server and have everyone connect to it, like IRC does, is not an option for me. I need to be able to connect peer-to-peer like this. Thanks for any help!
TechGuy's Avatar
Computer Specs
Administrator with 8,374 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
20-May-2008, 09:46 PM #2
I think you hit the nail on the head -- your only options, as I see it, would be to either use port forwarding (which would require each user to configure it on his or her router) or to use a central server for each of them to connect to first. Sorry.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:09 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.