"Erich E. Hoover" erich.e.hoover@wine-staging.com writes:
This patch adds support for the basic file-transfer operation of TransmitFile. It reads the file in as "bytes_per_send" chunks, which it then sends to the destination using WS2_send. This process is repeated synchronously (until patch 5 adds async support) until the entire file is sent.
It doesn't work here:
../../../tools/runtest -q -P wine -T ../../.. -M ws2_32.dll -p ws2_32_test.exe.so sock && touch sock.ok sock.c:2399: Tests skipped: SOCK_RAW is not supported sock.c:7545: Test failed: TransmitFile failed unexpectedly. sock.c:7734: Tests skipped: Cannot test SIO_ADDRESS_LIST_CHANGE, interactive tests must be enabled make: *** [sock.ok] Error 1
On Wed, Oct 14, 2015 at 9:47 AM, Alexandre Julliard julliard@winehq.org wrote:
...
It doesn't work here:
../../../tools/runtest -q -P wine -T ../../.. -M ws2_32.dll -p ws2_32_test.exe.so sock && touch sock.ok sock.c:2399: Tests skipped: SOCK_RAW is not supported sock.c:7545: Test failed: TransmitFile failed unexpectedly. sock.c:7734: Tests skipped: Cannot test SIO_ADDRESS_LIST_CHANGE, interactive tests must be enabled make: *** [sock.ok] Error 1
Whoops, sorry about that - forgot to handle the NULL case in the "make sure it's a disk file handle" check. I'll get that fixed right away.
Best, Erich