Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jul : Which Indy 10 object to use to listen and write to a Tcp address?

www.cryer.info
Managed Newsgroup Archive

Which Indy 10 object to use to listen and write to a Tcp address?

Subject:Which Indy 10 object to use to listen and write to a Tcp address?
Posted by:"shraga milon" (shraga..@zahav.net.il)
Date:Tue, 3 Jul 2007 13:17:56

Hi
I need to write application to connect against Asterisk manager API.
The application need to listen to specific address and port check the
strings from this port, write command, and analyize the answer.
I was tried to use IdTcpClient to wlistend and write to the port. But how
can i analyze/get the answer for what i wrote ?
I was tried to use a timer as i saw in a chat demo, but this is not helping
me to identify the answer to a command i sent.

Is IdTcpClient  the right component for this job ? Should i need to use the
old "TClientSocket" ?
Any help ?
Thanks,
Shraga

Replies:

www.cryer.info
Managed Newsgroup Archive