Solved

concurrent connection oriented client-server programming

Posted on 2004-10-16
2
354 Views
Last Modified: 2010-04-01
I am supposed to write a concurrent connection oriented client-server program
for a class assignment.  The server is supposed to be able to take at least 3 clients
at one time.  How do I test this kind of code?  For example, if I write the client program and the server program, can both these programs run off my home computer?  Do I just save the server program and close it, and then open up 3 C++ sessions and run the client program in each of the 3 sessions at the same time?
Thanks,
Bill
0
Comment
Question by:bjw5d6
2 Comments
 
LVL 1

Accepted Solution

by:
Feldspar earned 125 total points
ID: 12329828
Yeah, you should be able to run client/server programs from the same computer.  you could run the server .exe then 3 copies of the client .exe, or run them all within a development envorinment if you want debugging access.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12329839
To illustrate a bit:
You can have a "web server" installed in your computer and open 3 copies of internet explorer to access it, that's an example of a server and 3 clients accessing concurrently in the same computer.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question