Socket()

Hi there am trying to a program that will transfer a file from my machine to my friend next door at my college I had an Idea of Sockets but in the socket function I can't see the parameter to input files its only [code]char*buffer and the next is size of it can somebody help me out.
Last edited on
It's not designed to send files. You must serialise your file into a char* and then send it that way.

Edit: Just use an FTP client or something without having to write your own
Last edited on
yes,Serialize! How am I going to do that
Topic archived. No new replies allowed.