The sending C-side
double tmp = htonl(anydouble);
send(socket, (char *) &tmp, sizeof(tmp), 0);
On the Java side, im reading the network data into a char[8]
What is the proper way of performing the conversion back to double? Is it the way to go to simply send a string and parse it back to double?