Hi everyone, first post
Just thinking of an algorith that i could use to send two binary files, such and an .mp3 or .avi file over a network connection to a client machine.
I know you can just use a buffer, but how are you supposed to work out the size of the file for the recv() function? is there a null character or an EOF flag for binary files?
I'm really after generic ways of doing this as i plan to try and make the client easily portable to any other standard C++ compiler on linux/BSD/win etc.
can anyone help me out here?