Solved

concurrent connection oriented client-server programming

Posted on 2004-10-16
2
338 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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now