@ -914,7 +914,8 @@ int get_tlm_fox() {
{
digitalWrite (0, LOW);
printf("Sending %d buffer bytes over socket!\n", buffSize);
int sock_ret = send(sock, buffer[alt], buffSize, 0);
// int sock_ret = send(sock, buffer[alt], buffSize, 0);
int sock_ret = send(sock, buffer[alt], i, 0);
printf("Result of socket send: %d \n", sock_ret);
if (sock_ret == -1) {
printf("Error: %s \n", strerror(errno));
Powered by TurnKey Linux.