BOOL TransmitFile ( SOCKET s, HANDLE file, DWORD total_len, DWORD chunk_len, LPOVERLAPPED overlapped, LPTRANSMIT_FILE_BUFFERS buffers, DWORD flags )
Transmit a file over a socket.
|s||[In]||Handle to a connected socket.|
|file||[In]||Opened file handle for file to send.|
|total_len||[In]||Total number of file bytes to send.|
|chunk_len||[In]||Chunk size to send file in (0=default).|
|overlapped||[In]||For asynchronous operation.|
|buffers||[In]||Head/tail data, or NULL if none.|
|flags||[In]||TF_ Flags from mswsock.h.|
Failure: FALSE. Use WSAGetLastError for details of the error.
Declared in "mswsock.h". https://source.winehq.org/source/include/mswsock.h
Implemented in "dlls/mswsock/mswsock.c". https://source.winehq.org/source/dlls/mswsock/mswsock.c
Debug channel "mswsock".
Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.