Limiting the size of communication message

ProudNet can limit the size of communication message fluidly. This function is available to prevent a wrong signal being sent from a hacked client to server which says it contains a huge size of message. Thus it is recommended for the size of message not to exceed 64 KB.

If a message bigger than 64 KB limit in size gets transmitted, then Proud.INetCoreEvent.OnError gets callback and kills the connection between hosts.

Again, the maximum size of message that can be sent or received is approximately 64 KB. But communication between servers (Communication between servers) is free from such hacking, has high-speed network line, and sometimes requires sending or receiving huge size of messages. Thus the limit size of message need to be adjusted by Proud.CNetServer.SetMessageMaxLength.