I have a simple Client-server program and I couldnt get the communication to work until I found that I had tried to create the inputstream before the outputstream. Why does this not work?
ObjectInputStream in = new ObjectInputStream(
serverSocket.getInputStream());
ObjectOutputStream out = new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.