TransmitFile3w
Usage
BOOL TransmitFile
(
SOCKET s,
HANDLE file,
DWORD total_len,
DWORD chunk_len,
LPOVERLAPPED overlapped,
LPTRANSMIT_FILE_BUFFERS buffers,
DWORD flags
)
Overview
Transmit a file over a socket.
Params
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.
Returns
Success: TRUE
Failure: FALSE. Use WSAGetLastError(3w) for details of the error.
Implementation
Declared in "mswsock.h".
Implemented in "dlls/mswsock/mswsock.c".
Debug channel "mswsock".