The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Network programming problem

Posted by Nitesh on April 12, 2001 at 7:28 AM

Hi,
I wanted to know how to run a server program and a client program
written in java on the same machine at the same time.I have written both the programs and
used localhost to get the IP of the machine.The server programm runs
from the DOS prompt and it waits for a incoming connection from the client.Now i have to
run the client program but the problem is since the earlier server program is already
running the prompt is not displayed so i could not run the client program.
I opened another DOS window and executed the client program but the computer got struck .
Kindly tell me way on how to run these programs simuntaneously on the same machine.
Thanks.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us