nasir_qau
11-26-2001, 08:32 PM
I want to send an exe file to my client form linux server machine using TCP\IP sockets. Does any one know?
|
Click to See Complete Forum and Search --> : TCP\IP Programming Problem nasir_qau 11-26-2001, 08:32 PM I want to send an exe file to my client form linux server machine using TCP\IP sockets. Does any one know? Strogian 11-26-2001, 11:05 PM LOL. :D Well, I didn't know that you want to send an exe file until you just told me. But I do now, so I guess my answer is yes! :D The Kooman 11-26-2001, 11:31 PM Originally posted by nasir_qau: <STRONG>I want to send an exe file to my client form linux server machine using TCP\IP sockets. Does any one know?</STRONG> I think you should read "Unix Network Programming" by Richard Stevens! Basically create a socket using the "socket()" system call connect() to the server address and port write() the file to the socket as you would to any other file descriptor close() the socket when you're through. You might want to be careful about the host and network byte orders. See the man pages for more details. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |