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...
Type: Posts; User: adi0011
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...
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
...
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...
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...
client sending the hello message... server should accept the hello msg and display the message
server side::
2694
client side
C:\Users\ADITYA\Desktop\project in java\half>java Client
Received string: 'Received policeone -226259832 -226259891
Token number 01:policeone
Token number ...
This is original code...
import java.io.*;
import java.net.*;
import java.util.*;
public class Client
{
plz help me sir....
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...
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...
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...
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...