hi
i have an array of size[n](float data type) and i want to fill the array with the data collected from the socket in one thread and in the other thread i have to use the array(while it is getting filled with the other thread) for gui related purpose(plotting graphs).

i am not able to find a solution with QDataStream.the blocking fortune client example is different from my program.

if the array consists of char i can use the bool QIODevice::getChar ( char * c )
to get the single data from the socket but i have floats in the array
so ,what functions should i use to get the float values serially from the socket.

thank u