Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
f7a30518
Commit
f7a30518
authored
Sep 04, 2018
by
Andreas Schmidt
Browse files
Sender sleep between SYN/ACK and send.
parent
d1e3fc10
Pipeline
#2973
passed with stages
in 1 minute and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
prrt/time-receiver.c
View file @
f7a30518
...
...
@@ -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
;
...
...
prrt/time-sender.c
View file @
f7a30518
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment