Commit 117f862c authored by Andreas Schmidt's avatar Andreas Schmidt

Add BBR state.

parent 606bbbc0
Pipeline #2067 failed with stages
in 22 seconds
......@@ -119,7 +119,7 @@ int main(int argc, char **argv) {
while (i < rounds && keepRunning) {
char buffer[MAX_PAYLOAD_LENGTH + 1];
debug(DEBUG_RECEIVER, "About to receive.");
int n = PrrtSocket_receive_asap_wait(s, buffer);
int n = PrrtSocket_receive_ordered_wait(s, buffer, 10 * 1000);
if (n < 0) {
continue;
}
......@@ -128,7 +128,7 @@ int main(int argc, char **argv) {
memcpy(&old, buffer, sizeof(struct timespec));
fprintf(stderr, "%u: %lli\n", i, timedelta(&now, &old));
fprintf(stderr, "%u: %lli %i\n", i, timedelta(&now, &old), PrrtSocket_get_bbr_state(s));
i++;
}
......
Markdown is supported
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