I am going to work w/ a friends app and he has a socket that will send about 10 doubles so I need to connect to it and read these doubles.
I know how to make the socket, but I'm not sure of how to properly read the doubles or pull them out. So far I have below ... can anyone help me here.
#define BUF_SZ 64
memset(buffer, 0x0, BUF_SZ);
retval = read(fd, buffer, BUF_SZ);