Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 29th, 2006, 7:47 PM   #1
Cornelius
Newbie
 
Join Date: May 2006
Posts: 7
Rep Power: 0 Cornelius is on a distinguished road
Internet, not LAN

Hi Folks

I'm trying to get this program to host using the internet, and not the LAN. I'd like to be able to edit the source code to easy switch between the two.

Any help would be useful.

C
Attached Files
File Type: zip testserver.zip (1.7 KB, 12 views)
Cornelius is offline   Reply With Quote
Old May 30th, 2006, 7:13 AM   #2
free-zombie
Programmer
 
free-zombie's Avatar
 
Join Date: May 2006
Location: Bavaria, Germany
Posts: 50
Rep Power: 0 free-zombie is an unknown quantity at this point
Send a message via ICQ to free-zombie Send a message via MSN to free-zombie Send a message via Yahoo to free-zombie
TCP/IP is the same no matter if you are on the internet or a LAN - on the internet you need open ports somewhere though (on the LAN as well, but it's easier there)
free-zombie is offline   Reply With Quote
Old May 30th, 2006, 9:16 AM   #3
Cornelius
Newbie
 
Join Date: May 2006
Posts: 7
Rep Power: 0 Cornelius is on a distinguished road
What would I change to the code to make it host on the net? It already works okay on LAN as it is, I just need to test it on the internet.
Cornelius is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:37 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC