tried to add even more debugging messages.

This commit is contained in:
Charles Descamps 2025-02-19 19:48:37 -07:00
parent 73a94fdcb0
commit fb10f04f23

View file

@ -112,6 +112,7 @@ int main(int argc, char **argv)
}
printf("\nConnected client to socket: %d\n", clientEchoFD);
}
printf("\nAccepted connection from new client.\n");
}
// if the client socket(s) are being written to/read from,
else
@ -135,7 +136,9 @@ int main(int argc, char **argv)
send(fileIter, message, sizeof(message), 0);
printf("\nMessage has been sent back to client.\n");
}
printf("\nMessage received.\n");
}
printf("\nDEBUG: Working or not?\n");
}
}