-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
17 lines (14 loc) · 993 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This is tools to do multiple test with QLocalServer/QLocalSocket, QTcpServer/QTcpSocket and RS232.
It allow import/export binary on file, send raw hexa or raw text, for the server: multiple client is managed.
=============== Licence ===============
All the code is under GPL3.
============== Compression ============
The compression on the QTcpSocket is compatible with QSslSocket.
The generic interface is used, multiple algorithm like zlib, gzip, lz4, lz4hc is implemented. Can be extended.
The compression can be hot added/removed, but is not used with this application.
The zlib/gzip can be compressed only as packet due to qtiocompressor bug (I think).
lz4/lz4hc have only compression by message (all the data sended to the compressor).
================= LZ4 =================
You can see more details about lz4 class on:
http://pokecraft.first-world.info/wiki/Lz4CompressionTcpSocket_for_Qt
For this, the size of uncompressed packet is send on usigned int before the compressed data.