This is for a Linux system, in C. It involves network programming. It is for a file transfer program. I’ve been having this problem where this piece of code works unpredictably. It either is completely successful, or the while loop in the client never ends. I discovered that this is because the fileLength variable would sometimes be a huge (negative