Solved

concurrent connection oriented client-server programming

Posted on 2004-10-16
2
377 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

739 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