 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jamie Dale Guest
|
Posted: Mon Dec 04, 2006 5:51 am Post subject: File AND ASCII at the same time using TCP? |
|
|
Hi
Is it possible to send ASCII using TIdTCPClient/Server (Version8) at the
same time as a file is being transferred?
I seem to vaguely remember someone once saying it could be done. Any ideas?
Thanks
Jamie |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Dec 05, 2006 3:16 am Post subject: Re: File AND ASCII at the same time using TCP? |
|
|
"Jamie Dale" <dale_jamie (AT) yahoo (DOT) com> wrote in message
news:457362d8 (AT) newsgroups (DOT) borland.com...
| Quote: | Is it possible to send ASCII using TIdTCPClient/Server (Version8)
at the same time as a file is being transferred?
|
The only way to do that is to split your file data into multiple packets,
and then send the text packets in between file packets. Each packet would
need a header to specify what kind of packet it is, and how the packets
relate to each other. That is a very messy protocol, to say the least.
Most other protocols get around this by simply performing the transfer on a
completely separate connection.
Gambit |
|
| Back to top |
|
 |
Jamie Dale Guest
|
Posted: Tue Dec 05, 2006 3:50 am Post subject: Re: File AND ASCII at the same time using TCP? |
|
|
| Quote: | The only way to do that is to split your file data into multiple packets,
and then send the text packets in between file packets. Each packet would
need a header to specify what kind of packet it is, and how the packets
relate to each other. That is a very messy protocol, to say the least.
Most other protocols get around this by simply performing the transfer on
a
completely separate connection.
|
Thought that might be the case, but just wanted to check.
As always, thanks for your help!
J |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|