Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Feb : TCPClient question

www.cryer.info
Managed Newsgroup Archive

TCPClient question

Subject:TCPClient question
Posted by:"Stephen Slovensky" (sslove..@optonline.net)
Date:Fri, 11 Feb 2005 20:28:51

Hello;

I have a need to propagate small amounts data from one system another and I
have considered using the IdTCPserver and IdTCP client components.  I also
read  the Indy manual before asking this question...

If I use a TCP server component on the system to push data from and a TCP
client component on the "receiver" computer I would like to act on the data
when it arrives on the client computer and the client will not request the
data.  From what I have read the components are not "event" based and are
blocking which means that the client computer would have to wait for the
data to arrive instead of reacting to it when it arrives.  For this
application it is a big difference because when there is no data the
application will be doing other things that the user requests.

The UDPserver component has a read event which gets fired when data arrives
for processing.

Any ideas on how to do this with TCP components?

Thanks.

Replies:

www.cryer.info
Managed Newsgroup Archive