Hi,
I understand the concept but having trouble implementing.
I defined Data as a char * and allocated memory:
Data = (char *) malloc(1024*sizeof(qint64));
then read from the socket and wrote to the process similar to before:
socket->read(Data,1024);
process1->write(Data);
nothing happens..I guess something is wrong with the number and types there. any idea?
thanks.




Reply With Quote

Bookmarks