10.Compressing communication message

If you want compress message, insert factor (Proud.RmiContext.m_compressMode) as everything except Proud.CM_None when you call RMI method or SendUserMessage method.

Here is an example

RmiContext ctx = RmiContext::ReliableSend;
ctx.m_compressMode = CM_Zip;

Proxy.SendFileChunk(HostID_Server, ctx, dataBlock);