trying to send multiple times over same socket

pull/26/head
alanbjohnston 7 years ago committed by GitHub
parent bffd8b1289
commit 2e6d6f2ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -765,7 +765,9 @@ int get_tlm_fox() {
printf("%02X", b[count]);
}
printf("\n");
for (int k = 0; k < 5; k++)
{
// socket write
if (!socket_open)
@ -807,6 +809,8 @@ int get_tlm_fox() {
printf("Sending buffer over socket!\n");
send(sock, buffer, sizeof(buffer), 0);
}
sleep(3);
}
return 0;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.