What is the maximum packet byte ?

04/03/2020 11:35 hadescik#1
For example 0x3013 or 0x3019 ?

What is the maximum packet byte length ?
04/03/2020 13:54 DaxterSoul#2
The theoretical maximum of those packets could very well be around 100 megabytes, even tho it's unlikely you'll actually see this. I'd advise against allocating static buffer for [Only registered and activated users can see links. Click Here To Register...]. Grow the buffer if necessary or try to read/write across multiple gathered packets instead.
04/03/2020 15:12 hadescik#3
Quote:
Originally Posted by DaxterSoul View Post
The theoretical maximum of those packets could very well be around 100 megabytes, even tho it's unlikely you'll actually see this. I'd advise against allocating static buffer for [Only registered and activated users can see links. Click Here To Register...]. Grow the buffer if necessary or try to read/write across multiple gathered packets instead.
What should be the largest buffer size in one go? I'm using 8192
04/03/2020 16:04 DaxterSoul#4
A regular packet has a 6 byte header and up to 4090 bytes of data so 4096 bytes total.