[ENet-discuss] packet compression and decompression

Amir Ramezani amir.ramezani1370 at gmail.com
Mon Apr 25 14:10:34 PDT 2016


hello,
thanks, it work's now
but how about giving my own compression functions?
thanks

۱۳۹۵-۰۲-۰۵ ۱۸:۰۳ −۰۷:۰۰ گرینویچ, Lee Salzman <lsalzman at gmail.com>:
> Call enet_host_compress_with_range_coder() on each host immediately
> after you create it to use the built-in compression algorithm.
>
> On Sun, Apr 24, 2016 at 5:59 PM, Amir Ramezani
> <amir.ramezani1370 at gmail.com> wrote:
>> hi all,
>> i want to compress packets between my client and server, in order to
>> make them to be sent and received faster on both clients and server,
>> due to bad connection here
>> how this is done, and how can i feel the compression structure?
>> at leest i want to be aible to compress and decompress using simple
>> compression algorithms
>> second, can i use zlib for this purpose?
>> thanks for your help
>> _______________________________________________
>> ENet-discuss mailing list
>> ENet-discuss at cubik.org
>> http://lists.cubik.org/mailman/listinfo/enet-discuss
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>



More information about the ENet-discuss mailing list