Closed OmniTroid closed 8 years ago
That is supposed to be handled by the TCP/IP stack, i.e. under the hood. TCP packet fragmentation should not have to be handled by software. Perhaps it is overrunning the 16k buffer you made.
Fixed using caching.
I had a similar problem making an LCD monitor via the serial port. The solution was to put incomplete packets on an extra buffer which would be placed in front of the read buffer on the next set of reads.
TCP splits the packet as it is too large. Only half of the masterlist shows up.