But when i ran the client part it returned an error pointint to:
String st = new String (dis.readUTF());
also returning NullPointerException
For running Server part it returns:
Exception...
Type: Posts; User: Jedi khan
But when i ran the client part it returned an error pointint to:
String st = new String (dis.readUTF());
also returning NullPointerException
For running Server part it returns:
Exception...
I am intending to run both programs on the same machine
The error i am encountering on every run of the client program is
Exception in thread "main" java.net.BindException: Address already in use:...
I will but its not the solution Syed Sahab..
Well if you don't mind plz tell me what u mean by install....i m not getting ...did u mean to run them separately or what i should take ???
Also tell me please how to run both programs(Server,Client) on one and the same machine.
Hi coders!
Im new to Network programming and m currently exploring java.net ...... i am building a simple client server comm.. for that my code for server is:
import java.net.*;
import...