|
|
|
@ -913,7 +913,7 @@ int get_tlm_fox() {
|
|
|
|
digitalWrite (0, LOW);
|
|
|
|
digitalWrite (0, LOW);
|
|
|
|
printf("Sending buffer over socket!\n");
|
|
|
|
printf("Sending buffer over socket!\n");
|
|
|
|
int sock_ret = send(sock, buffer[alt], buffSize, 0);
|
|
|
|
int sock_ret = send(sock, buffer[alt], buffSize, 0);
|
|
|
|
printf("Result of socket send: %d errorno: %d \n", sock_ret, strerror(errno));
|
|
|
|
printf("Result of socket send: %d errorno: %s \n", sock_ret, strerror(errno));
|
|
|
|
alt = (++alt) % 2;
|
|
|
|
alt = (++alt) % 2;
|
|
|
|
printf("Alternate value is %d \n", alt);
|
|
|
|
printf("Alternate value is %d \n", alt);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|