Hi!

About this code:
Qt Code:
  1. QByteArray datagram;
  2. QDataStream out(&datagram, QIODevice::WriteOnly);
  3. out.setVersion(QDataStream::Qt_4_1);
  4. out << x << y << z;
  5. udpSocket->writeDatagram(datagram, QHostAddress::Broadcast, 45454);
To copy to clipboard, switch view to plain text mode 

I tried this with int, float, ... and it works.
Can i load an image from the images resource into x and the send it? If so what object should i use? QImage?

The final idea is to load the image into an object (label) in the receiver GUI.

Thanks