XML will be a easy way I guess.
However you may also look at using QDataStream. You can stream your class through it and read back. Read the documentation to get an idea
XML will be a easy way I guess.
However you may also look at using QDataStream. You can stream your class through it and read back. Read the documentation to get an idea
Mmmh... in this context: when I use QDatastream and sockets (maybe especially UDP sockets) do I have to deal with timeouts, broken telegrams and things like that? Even with XML and plain text via QCtpSocket, I currently use BOT/EOT bytes, timeouts and 1024k reading buffers to assure that nothing is lost. Is that ok or paranoia? Especially on Windows CE systems, I heard there may could be trouble?
Bookmarks