added printf of sock send attempt

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent 44de671d53
commit 97668d75d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -911,7 +911,7 @@ int get_tlm_fox() {
if (!error)
{
digitalWrite (0, LOW);
printf("Sending buffer over socket!\n");
printf("Sending %d buffer bytes over socket!\n", buffSize);
int sock_ret = send(sock, buffer[alt], buffSize, 0);
printf("Result of socket send: %d \n", sock_ret);
if (sock_ret == -1) {

Loading…
Cancel
Save

Powered by TurnKey Linux.