I wasn't aware of that. Also, I don't see the problem.

Is an unicode str received from the Qt app.
It will append the CMD_MSG (str) with the message (unicode) producing a unicode str.
I don't know if there is a problem with the transport and unicode.

Anyway, this is a test method. We shouldn't use UDP to send messages, only to discover nodes in the lan.