Home > Back-end >  Delphi xe 10. Use clientsocket sendstream methods transferring files cannot be more than 4 g?
Delphi xe 10. Use clientsocket sendstream methods transferring files cannot be more than 4 g?

Time:11-04

A great god, and have a solution? Can you give a sample? Thank you very much!

CodePudding user response:

How could this kind of problems, 4 g you is not a time nor a receiving, INT64 count, disk format is FAT32???

CodePudding user response:

Looked at it, it seems that send a pointer in the sendstream method is one of type integer number, so more than 4 g, at the back of the data is sent as a pointer overflow, can't say, you usually use what way to solve?

CodePudding user response:

Cycle to send, cycle receiving, TCP to do stick packet processing,

CodePudding user response:

Unpacking to send, pass so much at a time, out of the question again to come. His subcontract, record after you receive can then again after the next.
  • Related