7.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.

Again, the maximum size of message that can be sent or received is approximately 64 KB. But communication between servers (10. 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.

If a client tries to send a message larger than the size specified by Proud.CNetServer.SetMessageMaxLength, An exception will occur at the corresponding transmission point of the client.