Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Coder's Corner Lounge (http://www.programmingforums.org/forum11.html)
-   -   how to test an internet application? (http://www.programmingforums.org/showthread.php?t=13612)

programmingnoob Jul 24th, 2007 3:29 AM

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

kruptof Jul 24th, 2007 5:21 AM

Quote:

Originally Posted by programmingnoob (Post 131054)
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.

lectricpharaoh Jul 24th, 2007 8:29 AM

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. :)

programmingnoob Jul 24th, 2007 2:58 PM

Quote:

Originally Posted by kruptof (Post 131058)
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

Wizard1988 Jul 24th, 2007 4:04 PM

Send it to some one and have them connect to you??

Dameon Jul 24th, 2007 5:01 PM

Why don't you just run multiple instances of your program on one computer...?

programmingnoob Jul 24th, 2007 6:45 PM

Quote:

Originally Posted by Dameon (Post 131080)
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 Jul 24th, 2007 6:46 PM

Quote:

Originally Posted by Wizard1988 (Post 131078)
Send it to some one and have them connect to you??

yeah but that will be just a couple of comps...
hmmm

Dameon Jul 24th, 2007 7:04 PM

Quote:

Originally Posted by programmingnoob (Post 131090)
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.

programmingnoob Jul 24th, 2007 9:06 PM

Quote:

Originally Posted by Dameon (Post 131093)
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)


All times are GMT -5. The time now is 2:44 AM.

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