How would one transfer files larger than 2,147,483,646 bytes (~2 GiB) with Win32 TransmitFile()?
问题 Quoted from MSDN entry for TransmitFile: The maximum number of bytes that can be transmitted using a single call to the TransmitFile function is 2,147,483,646, the maximum value for a 32-bit integer minus 1. The maximum number of bytes to send in a single call includes any data sent before or after the file data pointed to by the lpTransmitBuffers parameter plus the value specified in the nNumberOfBytesToWrite parameter for the length of file data to send. If an application needs to transmit