Zero copy on windows
-
Hi All, Is there any facility/API available on windows which will give me file copying functionality where number of copy operations involved are minimal? Usually kernel mode APIs and DMA stuff creates few number of redudent buffer copy operations. Can we avoid it? On unix they have such functionality http://www.linuxjournal.com/article/6345[^]
-
Hi All, Is there any facility/API available on windows which will give me file copying functionality where number of copy operations involved are minimal? Usually kernel mode APIs and DMA stuff creates few number of redudent buffer copy operations. Can we avoid it? On unix they have such functionality http://www.linuxjournal.com/article/6345[^]
I'm almost sure that there isn't any thing like that in Windows API. The standard functions: CopyFile, CopyFileEx, MoveFile don't work as you want: http://msdn.microsoft.com/en-us/library/aa363851(VS.85).aspx[^] PD: If you find such functionallity please post it. :laugh:
-
I'm almost sure that there isn't any thing like that in Windows API. The standard functions: CopyFile, CopyFileEx, MoveFile don't work as you want: http://msdn.microsoft.com/en-us/library/aa363851(VS.85).aspx[^] PD: If you find such functionallity please post it. :laugh:
Hi again, I remembered a way to copy files across network: TransmitFile Function The TransmitFile function transmits file data over a connected socket handle. This function uses the operating system's cache manager to retrieve the file data, and provides high-performance file data transfer over sockets. Note This function is a Microsoft-specific extension to the Windows Sockets specification. http://msdn.microsoft.com/en-us/library/ms740565(VS.85).aspx[^] Hope this one works...
-
Hi again, I remembered a way to copy files across network: TransmitFile Function The TransmitFile function transmits file data over a connected socket handle. This function uses the operating system's cache manager to retrieve the file data, and provides high-performance file data transfer over sockets. Note This function is a Microsoft-specific extension to the Windows Sockets specification. http://msdn.microsoft.com/en-us/library/ms740565(VS.85).aspx[^] Hope this one works...
Hey, That is really a good information. Thanks.