Article View: borland.public.cppbuilder.internet.socket
Article #4914Re: How many IdTCPClient connect to IdTCPServer?
From: Willie
Date: Tue, 07 Dec 2004 14:09
Date: Tue, 07 Dec 2004 14:09
22 lines
1752 bytes
1752 bytes
Hello Don Siders: I will keep trying... Thank you very much. Willie. "Don Siders" <nanook@joesgarage.org> ???????:41b377e5@newsgroups.borland.com... > How can I know...how many IdTCPClient connect to IdTCPServer? Depends on the version of Indy you're using. Indy 9 has a Thread property, and Indy 10 has a Contexts property. Located in TIdTCPServer. These are TThreadList properties, so you must call LockList before you can access any items or even determine the length of the list. Make sure you call UnlockList, or the sever will not be able to accept new connections, etc. hth...
Technical Details
Message-ID:
<41b5b6ba@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41b31844@newsgroups.borland.com> <41b377e5@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4f1d9596b820e6f1 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Willie" <Willie.nospam@nospam.pchome.com.tw> Newsgroups: borland.public.cppbuilder.internet.socket References: <41b31844@newsgroups.borland.com> <41b377e5@newsgroups.borland.com> Subject: Re: How many IdTCPClient connect to IdTCPServer? Date: Tue, 7 Dec 2004 22:09:10 +0800 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 211.20.227.67 Message-ID: <41b5b6ba@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102427834 211.20.227.67 (7 Dec 2004 05:57:14 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail