irrnet/include
rna88 967378ae98 SInPacket now tracks decryption/decompression failure.
Previously there was no way to tell if an incoming packet was
incorrectly formatted. The new function SInPacket.isValid()
can be called after decryption/decompression to determine if
the packet wasn't decrypted and/or decompressed properly.

* Added "valid" attribute to SInPacket.
* Decryption routine unsets "valid" if buffer is not divisible by 16.
* Decompression routine unsets "valid" on receiving zlib error code.
2018-03-15 20:12:33 -07:00
..
NoIrrlicht Initial commit. 2018-03-10 20:07:10 -08:00
CEncryption.h Initial commit. 2018-03-10 20:07:10 -08:00
CNetManager.h Initial commit. 2018-03-10 20:07:10 -08:00
INetManager.h Initial commit. 2018-03-10 20:07:10 -08:00
SPacket.h SInPacket now tracks decryption/decompression failure. 2018-03-15 20:12:33 -07:00
irrNet.h Initial commit. 2018-03-10 20:07:10 -08:00