Search:

Type: Posts; User: adi0011

Search: Search took 0.07 seconds.

  1. Re: Socket closed Exception being thrown.. please help

    please sir,
    i want the server receives the hello msg...

    The output clearly shows client sending hello msg to server,but server is not taking the hello msg and throws exception....
    I know...
  2. Re: Socket closed Exception being thrown.. please help

    C:\Users\ADITYA\Desktop\example>java Server1
    Server has connected!
    Sending string: 'Toobie ornaught toobie'
    Whoops! It didn't work!


    C:\Users\ADITYA\Desktop\example>javac Client1.java
    ...
  3. Re: Socket closed Exception being thrown.. please help

    Thank you so much. i have reduced the code as you suggested..but still i am having the problem. could you rectify it sir???


    import java.lang.*;
    import java.io.*;
    import java.net.*;

    class...
  4. Re: Socket closed Exception being thrown.. please help

    Sorry for posting the wrong code..

    Here is the current version with the problem. The Socket Exception is not being thrown here, but the communication is not happening.






    import...
  5. Re: Socket closed Exception being thrown.. please help

    client sending the hello message... server should accept the hello msg and display the message
  6. Re: Socket closed Exception being thrown.. please help

    server side::

    2694
  7. Re: Socket closed Exception being thrown.. please help

    client side

    C:\Users\ADITYA\Desktop\project in java\half>java Client
    Received string: 'Received policeone -226259832 -226259891

    Token number 01:policeone

    Token number ...
  8. Re: Socket closed Exception being thrown.. please help

    This is original code...



    import java.io.*;
    import java.net.*;
    import java.util.*;

    public class Client
    {
  9. Re: Socket closed Exception being thrown.. please help

    plz help me sir....
  10. Socket closed Exception being thrown.. please help

    I have been working with socket programming. I was trying to develop a two way communication from server to client. The data is being received when sent from server to client but there is a problem...
  11. Replies
    6
    Views
    1,186

    Re: plz help me to do the program

    i am doing my academic project.
    for every string it has to generate equivalent unique number..
    for example vehicle 1 and vehicle 2.so the numbers must be unique with each other and again i want...
  12. Replies
    6
    Views
    1,186

    Re: plz help me to do the program

    hello sir,
    I need to develop the below lines...1)message1=Hash(ID) xor number
    2)Alias id=Hash(number) xor ID.

    I have calculated the hashcode of string(ID) and it works fine,but the second line...
  13. Replies
    6
    Views
    1,186

    plz help me to do the program

    hello..
    i need to calculate id=hash(number) xor id.id is string and number is random number.my problem is how to convert my string ex='hello' into equivalent integer,so that i can do xor.I have...
Results 1 to 13 of 13