Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 May : LKimiting number of clients in TIdTCPServer?

www.cryer.info
Managed Newsgroup Archive

LKimiting number of clients in TIdTCPServer?

Subject:LKimiting number of clients in TIdTCPServer?
Posted by:"Bo Berglund" (bo.berglu..@telia.com)
Date:Fri, 4 May 2007 07:41:29

Is there a way to limit the number of connections to a TCP server
using Indy9 and Delphi7?

The "server" I need to build (see other threads) is really a client
for all reasonable purposes and I would like to limit the number of
connections to exactly one. How can this be done?

If I stop listening when a connection has been done, will the
connection that has been established remain or will it be lost?

/Bo

Replies:

www.cryer.info
Managed Newsgroup Archive