struct tarpc_copy_fd2fd_in


struct tarpc_copy_fd2fd_in {
    // fields

    struct tarpc_in_arg common;
    int out_fd;
    int in_fd;
    int timeout;
    uint64_t count;

Detailed Documentation


int out_fd

File descriptor opened for writing. Can be a socket

int in_fd

File descriptor opened for reading. Can be a socket

int timeout

Number of milliseconds that function should block waiting for in_fd to become ready to read the next portion of data while all requested data will not be read

uint64_t count

Number of bytes to copy between the file descriptors. If 0 then all available data should be copied, i.e. while EOF will not be gotten