struct tarpc_transmit_file_in
Overview
struct tarpc_transmit_file_in { // fields struct tarpc_in_arg common; tarpc_int fd; tarpc_int file; tarpc_size_t len; tarpc_size_t len_per_send; tarpc_size_t offset; tarpc_size_t offset_high; tarpc_overlapped overlapped; char head; char tail; tarpc_size_t flags; };
Detailed Documentation
Fields
tarpc_int fd
TA-local socket
tarpc_int file
Handle to the open file to be transmitted
tarpc_size_t len
Number of file bytes to transmit
tarpc_size_t len_per_send
Number of bytes of each block of data sent in each send operarion
tarpc_size_t offset
Offset to be passed to OVERLAPPED. File position at wich to start to transfer
tarpc_size_t offset_high
OffsetHigh to be passed to OVERLAPPED. High-oreder word of the file position at wich to start to transfer
tarpc_overlapped overlapped
WSAOVERLAPPED structure
char head
Buffer to be transmitted before the file data is transmitted
char tail
Buffer to be transmitted after the file data is transmitted
tarpc_size_t flags
Parameter of TransmitFile()