answersLogoWhite

0


Best Answer

It's very simple. You just need to tell the client to connect to ip address 127.0.0.1, which is local host. You also define the port number for the client.

On Server side, you just need to listen to that port.

Then run both client and server programs on the same PC and it should work.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: You are testing client server program how can test it in one computer making a single PC both client and server?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a client?

A client is the requesting program or user in a client/server relationship. For example, the user of a Web browser is effectively making client requests for pages from servers all over the Web. The browser itself is a client in its relationship with the computer that is getting and returning the requested HTML file. The computer handling the request and sending back the HTML file is a server.


What is the process of unit testing?

Unit testing is a computer programming method, in which small bits of source code are tested for bugs. Unit testing is praised for being able to find bugs early and makes making changes to a program easier to implement.


How do you program?

Programming involves designing a program mock-up, documenting the program, and coding it into a development environment. Most of all, programming involves making sure that the client is satisfied with all the capabilities of the program.


How do you program computers?

there is no one way to "program" computers codes are often used to write programs that are used on a computer some comman are c+ c++ html java scriptA computer is programed by making a code that is available in the computer language.


What is diff between testing and software testing?

Testing is making sure something works rihgt. Software testing is making sure software works right.


What is setup?

the process of making something (such as a machine or computer program) ready to be used. : the way that something is done or organized


What are good security computer training tips?

Some good ways of making sure that you are doing security computer training properly is following a program such as Norton Antivirus Spyware or some other reputable software program.


What information does a programmer need to set up a visual basic program?

In the professional Software Development Process, there are seven stages undertaken to properly complete a professional program. Analysis Design Implementation Testing Documentation Evaluation Maintenance Your question falls under stage 1, analysis. In this stage a contract is produced between the client and the company making the program. This is called the requirements specifications. This legally binding contract generally consists of things like this: Platform of system that will run program What the program is to do Specifications of system that will run program Who the program is intended to be used by (eg, children or professors.) Just a few examples, hope i helped.


How does a computer virus work in general?

Generally, a computer virus attacks a file/program, and then injects a bunch of complex direction codes that make the program a zombie. So the virus basically kills and then mutates the code of a program, either making that infected program another copy of the virus that attacked it, or a powerhouse factory that automatically makes copies of the virus, which means that the program now is like a mass production factory making copy after copy after copy of the virus.


Why is Java making your computer so slow?

It shouldn't - especially when you aren't executing any program that uses Java. There may be something else that is slowing down the computer.


What was the name of corning glass works first computer?

Corning glass didn't make computers. They began by making titles for the space program and then into making dishes for consumers.


What features would make a client go to Webinar?

Convenience and easy accessibility are the most important features for making a client attend a webinar. The convenience of using just a computer to hear a lecture or other presentation is the biggest draw to attending a Webinar.