Commit 526cb9fc authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix non-terminating sender.

parent 7c14c771
......@@ -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;
}
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