I am trying to implement download in C sockets. The idea is to get the size of the file in the client and send 1024 bytes at once , multiple times , then send the remainder