struct tarpc_simple_sender_in

Overview

struct tarpc_simple_sender_in {
    // fields

    struct tarpc_in_arg common;
    tarpc_int s;
    uint32_t size_min;
    uint32_t size_max;
    tarpc_bool size_rnd_once;
    uint32_t delay_min;
    uint32_t delay_max;
    tarpc_bool delay_rnd_once;
    uint32_t time2run;
    tarpc_bool ignore_err;
};

Detailed Documentation

Fields

tarpc_int s

Socket to be used

uint32_t size_min

Minimum size of the message

uint32_t size_max

Maximum size of the message

tarpc_bool size_rnd_once

If true, random size should be calculated only once and used for all messages; if false, random size is calculated for each message

uint32_t delay_min

Minimum delay between messages in microseconds

uint32_t delay_max

Maximum delay between messages in microseconds

tarpc_bool delay_rnd_once

If true, random delay should be calculated only once and used for all messages; if false, random delay is calculated for each message

uint32_t time2run

How long run (in seconds)

tarpc_bool ignore_err

Ignore errors while run