--- libeio/eio.c 2011/06/10 06:50:42 1.69 +++ libeio/eio.c 2011/06/10 06:55:10 1.70 @@ -1006,6 +1006,9 @@ #elif defined (_WIN32) /* does not work, just for documentation of what would need to be done */ + /* actually, cannot be done like this, as TransmitFile changes the file offset, */ + /* libeio guarantees that the file offset does not change, and windows */ + /* has no way to get an independent handle to the same file description */ HANDLE h = TO_SOCKET (ifd); SetFilePointer (h, offset, 0, FILE_BEGIN); res = TransmitFile (TO_SOCKET (ofd), h, count, 0, 0, 0, 0);