Hi all,
I just wanna know how to send a file through a socket connection in C language
"client request a certaion file on server and server send him this file" i work on both winsockets and bsd sockets "client ==> windows, server ==> *nix"
Thanks alot :)
Radi0ShacK
0
Newbie Poster
Recommended Answers
Jump to Post>I just wanna know how to send a file through a socket connection in C language
The same way you would send any other stream of characters. Just pretend the socket is an output stream and copy the file to it.
Jump to Post>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 …
All 6 Replies
Narue
5,707
Bad Cop
Team Colleague
Radi0ShacK
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
Radi0ShacK
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
jephthah
commented:
you are the wind beneath my wings
+9
MaSSaSLaYeR
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.