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
526cb9fc
Commit
526cb9fc
authored
Nov 30, 2015
by
Andreas Schmidt
Browse files
Fix non-terminating sender.
parent
7c14c771
Changes
1
Hide whitespace changes
Inline
Side-by-side
sender.c
View file @
526cb9fc
...
...
@@ -34,10 +34,8 @@ int main(int argc, char* const argv) {
sprintf
(
buf
,
"this is a message %d"
,
i
);
prrt_send
(
&
sock
,
buf
,
strlen
(
buf
));
}
usleep
(
5000
*
1000
);
usleep
(
1000
*
1000
);
prrt_close_socket
(
&
sock
);
pthread_exit
(
NULL
);
printf
(
"COMPLETELY CLOSED
\n
"
);
return
0
;
}
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