Getting message from client
A particular distributed application in Java requires data to be sent from the client to the server which contains information in the form of a string, an array of integers, and twodouble values. The application is using a TCP socket connection between the client and the server. In Java specific terms, what would youdo to get the data correctly from the client to the server.
Now I understand how you go about reading in data from the client. This sample code was pulled from a Java example:
while ((inputLine = in.readLine()) !=null){
outputLine = kkp.processInput(inputLine);
out.println(outputLine);
if outputLine.equals("Bye."))
break;
}
My question is, I'm getting the data there by simply a string, right, since it's reading the line? How would I go about getting the interger and 2 double values?

