Thursday, July 16, 2009

[Cpp-Programming] Re: socket file transfer

Take a buffer array and use fget to pick chunk of data from
file .After picking data , copy this data to socket.It will be good if
you create stream sockets.

On Jul 12, 2:08 am, KK <kartikeya.karna...@gmail.com> wrote:
> hello
> can anyone tell me how can i send file from one socket to another
> using c++ in unix.
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To post to this group, send email to Cpp-Programming@googlegroups.com
To unsubscribe from this group, send email to Cpp-Programming+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Cpp-Programming?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

<< Home