winsock file transfer

im looking for a way to send a file through winsock im creating a file transfer program for me and a colleague which will send the files these files will be zips, exes, pictures, and really any file you can think of but im not very experienced with winsock and many online references and examples only show how to read a text file and send the text that is inside of it. i would appreciate any help you can give. thank you.
online references and examples only show how to read a text file and send the text that is inside of it
That's what you need, plus some way to send the file name.
so trying to send a text file is the same as just sending a png am i just sending the binary data?
Topic archived. No new replies allowed.