Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jul 24th, 2007, 3:29 AM   #1
programmingnoob
Hobbyist Programmer
 
Join Date: Feb 2006
Posts: 155
Rep Power: 3 programmingnoob is on a distinguished road
how to test an internet application?

it would require several computers maybe, but more than one definitely....
I installed virtual PC, but apparently I would have to install OS too, and I dont have CD for that at the moment...
what other way? i basically want different ip addrs
programmingnoob is offline   Reply With Quote
Old Jul 24th, 2007, 5:21 AM   #2
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 333
Rep Power: 3 kruptof is on a distinguished road
Quote:
Originally Posted by programmingnoob View Post
it would require several computers maybe, but more than one definitely....
I installed virtual PC, but apparently I would have to install OS too, and I dont have CD for that at the moment...
what other way? i basically want different ip addrs
Download a linux distro image and just use that instead of burning it to a disc.
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old Jul 24th, 2007, 8:29 AM   #3
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,120
Rep Power: 5 lectricpharaoh will become famous soon enough
You could be a lazy bastard and grab a second ethernet card, and a foot of cat-5 UTP cable (wired as crossover). Saves having to do any real work.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jul 24th, 2007, 2:58 PM   #4
programmingnoob
Hobbyist Programmer
 
Join Date: Feb 2006
Posts: 155
Rep Power: 3 programmingnoob is on a distinguished road
Quote:
Originally Posted by kruptof View Post
Download a linux distro image and just use that instead of burning it to a disc.
the internet application is supposed to run on windows
programmingnoob is offline   Reply With Quote
Old Jul 24th, 2007, 4:04 PM   #5
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 422
Rep Power: 4 Wizard1988 is on a distinguished road
Send it to some one and have them connect to you??
__________________

Wizard1988 is offline   Reply With Quote
Old Jul 24th, 2007, 5:01 PM   #6
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Why don't you just run multiple instances of your program on one computer...?
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Jul 24th, 2007, 6:45 PM   #7
programmingnoob
Hobbyist Programmer
 
Join Date: Feb 2006
Posts: 155
Rep Power: 3 programmingnoob is on a distinguished road
Quote:
Originally Posted by Dameon View Post
Why don't you just run multiple instances of your program on one computer...?
they all will have same ip address then?!

i mean if you know a way around that, then do let me know
programmingnoob is offline   Reply With Quote
Old Jul 24th, 2007, 6:46 PM   #8
programmingnoob
Hobbyist Programmer
 
Join Date: Feb 2006
Posts: 155
Rep Power: 3 programmingnoob is on a distinguished road
Quote:
Originally Posted by Wizard1988 View Post
Send it to some one and have them connect to you??
yeah but that will be just a couple of comps...
hmmm
programmingnoob is offline   Reply With Quote
Old Jul 24th, 2007, 7:04 PM   #9
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Quote:
Originally Posted by programmingnoob View Post
they all will have same ip address then?!
Yes. Yes they will. Your server will bind to a certain port, such as 1234. Your client simply binds to a random available port. You will direct your client to connect to localhost (or 127.0.0.1) on port 1234.

The only time I have ever needed multiple machines for simple tests has been when writing a NAT holepunching library. If you're asking, then you have no such need.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Jul 24th, 2007, 9:06 PM   #10
programmingnoob
Hobbyist Programmer
 
Join Date: Feb 2006
Posts: 155
Rep Power: 3 programmingnoob is on a distinguished road
Quote:
Originally Posted by Dameon View Post
Yes. Yes they will. Your server will bind to a certain port, such as 1234. Your client simply binds to a random available port. You will direct your client to connect to localhost (or 127.0.0.1) on port 1234.

The only time I have ever needed multiple machines for simple tests has been when writing a NAT holepunching library. If you're asking, then you have no such need.
umm I didnt want all of them to have the same ip addr, because my server code distinguishes between two connections using ip addr (well, sort of)
programmingnoob 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Control PhilBon Visual Basic .NET 2 Nov 20th, 2006 8:53 PM
test lostcauz Coder's Corner Lounge 9 Jul 18th, 2006 4:20 PM
creating an application that stands between the browser and the serve ronias Visual Basic 5 Oct 30th, 2005 5:22 PM
Separating Axis Test. Desperate for help xennon C++ 0 Apr 24th, 2005 8:08 AM
Jung Typology Test Lance Coder's Corner Lounge 36 Feb 3rd, 2005 2:42 PM




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

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