Search:

Type: Posts; User: Jedi khan

Search: Search took 0.18 seconds.

  1. Replies
    13
    Views
    1,237

    Re: problem using Sockets

    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...
  2. Replies
    13
    Views
    1,237

    Re: problem using Sockets

    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:...
  3. Replies
    13
    Views
    1,237

    Re: problem using Sockets

    I will but its not the solution Syed Sahab..
  4. Replies
    13
    Views
    1,237

    Re: problem using Sockets

    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 ???
  5. Replies
    13
    Views
    1,237

    Re: problem using Sockets

    Also tell me please how to run both programs(Server,Client) on one and the same machine.
  6. Replies
    13
    Views
    1,237

    problem using Sockets

    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...
  7. Replies
    3
    Views
    1,369

    Re: Soket connection failure

    Net connection confirmed on.Changed the name but still of no gain
  8. Replies
    3
    Views
    1,369

    Soket connection failure

    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...
  9. Replies
    7
    Views
    1,331

    Re: nullpointerexception bug

    plx do fix it for me
  10. Replies
    7
    Views
    1,331

    Re: nullpointerexception bug

    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....
  11. Replies
    7
    Views
    1,331

    Re: nullpointerexception bug

    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
  12. [SOLVED] Re: Getting error message and can not figure it out.

    u re missing isLeapYear() method
  13. Replies
    7
    Views
    1,331

    nullpointerexception bug

    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 {
    ...
  14. Thread: intro.

    by Jedi khan
    Replies
    3
    Views
    987

    intro.

    hey all
Results 1 to 14 of 14