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...
Net connection confirmed on.Changed the name but still of no gain
Hi Coders...
I am new to socket Programming ..I wrote my first program to connect to internic using socket . i am using wifi.plz guide me .here is my code:
int c;
Socket s=new...
plx do fix it for me
I've tried another approach to find the median but am getting correct ans for odd case not the desired one in case of even. plz have a glance at it .i have just simply used statistics median formula....
The output after modifcation as u suggested is:
plx see it nd suggest me
[highlight=code]
Enter the number of items
4
Input values
1
2
u re missing isLeapYear() method
This program is to manipulate median of an array.it returns NullPointerException.i have tried it .plz any1 to rectify the bug.
thanxs in advance.
import java.io.*;
public class media {
...
hey all