Author Topic: RFC payload size limit?  (Read 2199 times)

danfoo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 93
    • View Profile
RFC payload size limit?
« 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).

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: RFC payload size limit?
« Reply #1 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.

danfoo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 93
    • View Profile
Re: RFC payload size limit?
« Reply #2 on: March 01, 2014, 04:24:46 AM »
We are nowhere near those sizes so I think we should be fine then. :) Thanks!