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 

Streaming Data FROM SERVER - TO CLIENT

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





PostPosted: Tue Jan 27, 2004 3:56 pm    Post subject: Streaming Data FROM SERVER - TO CLIENT Reply with quote



Hi,

I have an application which streams a record from a client to a
server, using the Delphi indy components (TIdTCPClient/Server). This
was relatively easy to do.

However, I now want to know how to do it the other way round i.e.
stream a record from the server to the client.

To avoid confusion I mean a record type, as follows:

type Data = packed record
Value1: byte;
Value2: byte;
Value3: LongWord
end;

The main problem i have is that at the client end I do not have an
OnExecute event to listen for incoming streams, the server end also
seems to lack the ability to call the OpenWriteBuffer command.

So, to clarify, I want to stream the above record FROM: Server To:
Client, *NOT* Client to server as I already know how to do this.

Any help is much appreciated.
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.