[ENet-discuss] Is the builtin range coder enabled by default?

Lee Salzman lsalzman at gmail.com
Tue Oct 2 17:56:31 PDT 2012


You must enable it on BOTH sides, server and client.

On 10/03/2012 08:40 PM, 蔡火胜 wrote:
>
> I have a C/S system that functions well.I mean the client and server send and reply messages correctly.
> Just now ,I tried to "enable" the range coder in enet 1.3.5 in order to make the physical packets shorter. I called the function enet_host_compress_with_range_coder on the ENetHost instance of my server. And then I found my client and server don't communicate correctly any more.The server just didn't receive any message from the client.Then I remove the new code , and they function well again.I made the tests on my localhost so that should not be a network problem.
>
> What's wrong ? What is the function for ? Is the builtin range coder enabled by default? What do I need to do in order to utilize the range coder?
>
>
>
>
>
> -- 
>
> 蔡火胜
>
> 手机:13267053475
>
> 邮件:caihuosheng at gmail.com <mailto:caihuosheng at gmail.com>
>
> 祝你身体健康、万事如意!
>
>
>
> _______________________________________________
> 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