Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: danfoo on February 28, 2014, 03:49:44 PM

Title: RFC payload size limit?
Post by: danfoo on February 28, 2014, 03:49:44 PM
Did a Google search but found nothing, so here we go:

Is there a size limit or max size recommendation for arguments to RFCs? The only hits I got for the search query was someone sending a string array and getting weird errors. We will be sending a lot of byte[], int[] etc. with a fair number of entries. Will this be a cause of problems?

Edit: By a lot, I do not mean in the same call. But there will likely be a few calls each second with various arrays of varying size (sometimes small, sometimes quite populated).
Title: Re: RFC payload size limit?
Post by: ArenMook on February 28, 2014, 09:10:43 PM
No, there is no limit, but I would advise you to keep them fairly small. A large packet being delivered means it actively blocks all other packets from arriving as well, including pings. So if you are sending megabytes upon megabytes worth of data to someone with a really slow internet connection, they may get DC'd before the download finishes.
Title: Re: RFC payload size limit?
Post by: danfoo on March 01, 2014, 04:24:46 AM
We are nowhere near those sizes so I think we should be fine then. :) Thanks!