TransmitFile (MSWSOCK.@)
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. |
Success: TRUE
Failure: FALSE. Use WSAGetLastError for details of the error.
Declared in "include/mswsock.h". gitlab.winehq.org/wine/wine/blob/master/include/mswsock.h
Implemented in "dlls/mswsock/mswsock.c". gitlab.winehq.org/wine/wine/blob/master/dlls/mswsock/mswsock.c
Debug channel "mswsock".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.