Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : IdTCPServer

www.cryer.info
Managed Newsgroup Archive

IdTCPServer

Subject:IdTCPServer
Posted by:"Anders Balslev" (i..@business.tele.dk)
Date:Fri, 29 Dec 2006 21:06:27

Hi - Im really a newbie in socket programming.

BDS2006, WinXP Pro

I have a number of times made application with APRO (TurboPower - closed
years ago) ApdWinSock component, but I want to test the advantage of the
INDY components.
The only need is to receive and transmit plain text ("Hello World" CrLf,
etc)

When a IdTCPServer1 component becomes active, then it can honour request
from a number of client sockets (i. e. from HyperTerminal) which goes very
well

When for example 3 client connections are connected to the IdTCPServer (and
the TCP Server has detected the IP adresses, IP1, IP2 IP3), how can I in the
application send
"Hello World" to IP2? - and something else to IP3, and something else to IP1
(which are NOT responses from the client - all 3 just remains open)

Anders Balslev

Replies:

www.cryer.info
Managed Newsgroup Archive