I am getting confused while sending a file from server to client or client to server. Is this that the only binary file are transferred or bitstream are to be generated? What should be the format of the text file that is to be send? Is there any specific format?
Asked
Active
Viewed 251 times
0
-
There is no format, just bytes, `send()` bytes after `fread()` and `recv()` bytes before `fwrite()` – David Ranieri Mar 11 '15 at 10:18
-
Is it mandatory to convert the text file into binary file in the local drive before sending or "ab" will directly convert to binary in fopen()? – shreya taylor Mar 11 '15 at 11:43