Display 1 number after commatemp = ((int)v[1]<<7)+ (v[0]>>1); t1 = (temp/10)%10 + '0'; //this is the integer part of the number...
C++ and socket programming Network Programming with Qt may help you.
This user does not accept Private Messages