file transfer across network
I have written small server/client programs to transfer files from one pc to another on the network..
Naturally ,I have used the send() and recv() functions on both sides to send and receive buffer.
I am transferring the characters one at a time in any given file into the buffer and then sending the buffer.
This does help in reproducing the exact image of the file on another pc for smaller files.. but,I have noticed the data being currupted for larger files ( >8000 chars).
I have to send only data files with some formatting.
Is this method good enough?
Is there any other way of doing it?