BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File AND ASCII at the same time using TCP?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Jamie Dale
Guest





PostPosted: Mon Dec 04, 2006 5:51 am    Post subject: File AND ASCII at the same time using TCP? Reply with quote



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





PostPosted: Tue Dec 05, 2006 3:16 am    Post subject: Re: File AND ASCII at the same time using TCP? Reply with quote



"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





PostPosted: Tue Dec 05, 2006 3:50 am    Post subject: Re: File AND ASCII at the same time using TCP? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.