> Hi all
<snipped problem>
> i m thinking two things ..
> in one case i crrate a single socket and read files through this socket
[quoted text clipped - 3 lines]
>
> Which option is correct and how i program this..
I'm afraid that I do not fully understand what you are trying to do. Like in
most cases, there are several solutions possible, and it all depends on what
you are exactly trying to do to choose the best option.
If you're downloading a file from a server, processing it on another machine
and then sending it to a third machine (the client), I would definitely
separate those two processes.
As a result of that, you'd create one connection (socket) to the server, and
another to the client.
Best regards,
JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks