Solved

concurrent connection oriented client-server programming

Posted on 2004-10-16
2
381 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

623 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