Forums Register Login

how to test a server and client on the same computer

+Pie Number of slices to send: Send
This is probably a simple one and I am being stupid, however,

I am making a simple server program to receive results from a test on a clients computer, I have checked through everything and it appears to be fine. I am trying to test both programs on the same computer just to check it works, is this possible and how should I do it. At the moment I am just opening both and nothing happens although both function normally on their own they dont interact.

Thanks for any help,
+Pie Number of slices to send: Send
The cleanest way to test both on one machine is to start two JVMs, server then client. Keep a couple command windows open and make bat files or whatever it takes to start them up easily.

Have you run through the Sun Networking Tutorial? They have many small but complete examples.
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1786 times.
Similar Threads
JDBC Connection pool, pointbase driver and Error
Testing Web Services
Client Server communication
Generating KeyStrokes
How to approach a very simple P2P communication program.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:53:27.