Thanks for your patience. Then it would be better if I extract all the server data I insert myself into variables and send them directly to clients without going through QbyteArray? Afterwards in the Client can I receive them separately?
Thanks for your patience. Then it would be better if I extract all the server data I insert myself into variables and send them directly to clients without going through QbyteArray? Afterwards in the Client can I receive them separately?
The important part is to convert the values from the query into the actual data type before writing into the data stream.
You likely also want a "header" like in the other direction, e.g. a number that indicates the size of the message to wait for before decoding.
Cheers,
_
I will try to redo the server, can you give an example of the client method? So I'm sure I'm on the right track,TankYou likely also want a "header" like in the other direction, e.g. a number that indicates the size of the message to wait for before decoding.
Cheers,
_![]()
Last edited by Nio74; 13th March 2019 at 10:26.
Bookmarks