hi

thanks a lot for the reply

I tried the following code but nothing seemed to work out.

...
tcpSocket->write(*barr, 10);

...


Though the following code gives the debug output as 10 bytes but the data is truncated as soon as the NULL bytes are encountered.

int bytes= tcpSocket->write(*barr, 10);
qDebug()<<"Bytes"<< bytes;


Thanks and Regards

Manish.S