<< split from this >>
>u asking me if i cant code why should i be asking about sockets?
No, I was asking you what you know so we don't waste time going over things that we don't need to. But if you want to be a dick about it, just say the word and I'll ignore you so that I can do more interesting things.>"yes i can"
This answer is worthless. So, since you seem incapable of giving me enough information to properly help you, I'll require that you post a complete program that shows an honest attempt to solve the problem.
Hello, I have the same issue to solve. My client is on wingoze, and the server is on linux. Now my file to send is a picture :(. Yes, I know how to work with sockets(text sent from one end to another and back). So Narue, you're suggesting to open the file for reading ( pf=fopen("file.jpg","r")) and copy character by character into a buffer, the send the buffer(this is on the server side)? :D....and in the client, receive the buffer and create a .jpg file: pf = fopen("newfile.jpg","w"), and put the buffer there? :-|.