Humm... I would be suprised if sendfile has a limit like this. If it does, then it is a
bug in the OS IMHO. In principle, sendfile should work on any file supported by the OS...
Where do you see 64 bits of size here?
BOOL TransmitFile(
SOCKET hSocket,
HANDLE hFile,
DWORD nNumberOfBytesToWrite,
DWORD nNumberOfBytesPerSend,
LPOVERLAPPED lpOverlapped,
LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,
DWORD dwFlags
);
