Commit f7a30518 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Sender sleep between SYN/ACK and send.

parent d1e3fc10
Pipeline #2973 passed with stages
in 1 minute and 41 seconds
......@@ -156,6 +156,8 @@ int main(int argc, char **argv) {
trans_receive_pace_dependent &&
trans_receive_pace_internal &&
trans_receive_pace_external);
printf("About to open socket.\n");
s = _open(false, &arguments);
uint32_t i = 0;
......
......@@ -166,6 +166,7 @@ int main(int argc, char **argv) {
struct timespec start = prev;
size_t payload_length = buffer_size * sizeof(char);
assert(payload_length >= 2 * sizeof(struct timespec) + 20);
sleep_nano(1);
printf("Start sending.\n");
while (round < rounds) {
struct timespec now;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment