NAME
TransmitFile (MSWSOCK.@)
SYNOPSIS
BOOL TransmitFile
(
SOCKET s,
HANDLE file,
DWORD total_len,
DWORD chunk_len,
LPOVERLAPPED overlapped,
LPTRANSMIT_FILE_BUFFERS buffers,
DWORD flags
)
DESCRIPTION
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".