Board index » delphi » Multiple simultaneous file xfer over a single socket

Multiple simultaneous file xfer over a single socket

Is this possible?

Or do I have to create another socket for each file xfer to have more
than one xfer at a time?

Thanks
Dave

 

Re:Multiple simultaneous file xfer over a single socket


In article <3edkctkgme0o4jef3a3joqipc7tr5q0...@4ax.com>,
dtisd...@iname.com says...
Quote
> Is this possible?

> Or do I have to create another socket for each file xfer to have more
> than one xfer at a time?

> Thanks
> Dave

That depends on the protocol you're using. You may create a protocol
that supports multiplexing, but I think it would be easier to use
multiple sockets and let the OS take care of multiplexing issues...

Andr
--
Replies to my email are not appreciated unless explicitly asked for.

Re:Multiple simultaneous file xfer over a single socket


Dave <dtisd...@iname.com> schreef in berichtnieuws
3edkctkgme0o4jef3a3joqipc7tr5q0...@4ax.com...

Quote
> Is this possible?

> Or do I have to create another socket for each file xfer to have more
> than one xfer at a time?

> Thanks
> Dave

There is an example on how to transfer multiple files through sockets on my
website ( see sig.)
It however uses only one connection. I doubt whether you can enhance
performance by using multiple sockets, since there is (mostly) only one CPU
at both sides...

--
Regards,

Dirk Claessens
---------------------------------------------------------
http://www.claessens16.yucom.be
Attention: All spamshields raised; E-mails will bounce!
---------------------------------------------------------

Other Threads