Article View: borland.public.cppbuilder.internet.socket
Article #4819[INDY 9 - bcb5 TIdTCPServer] Problem using the Locklist function
From: DJames
Date: Sun, 19 Dec 2004 19:29
Date: Sun, 19 Dec 2004 19:29
15 lines
1208 bytes
1208 bytes
Hi. I want to know how many clients are connected to my TCPServer. For this, I use the following code : ----------------------------------------- ss->Threads->LockList(); ... ss->Threads->UnlockList(); ----------------------------------------- ss is my TIdServerSocket. This code is in the onExecute event handler and provides an access violation error. What's wrong with my code ? thanks.
Technical Details
Message-ID:
<a12d5bc.0412191129.6bce86d@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,55835b5dca6e4a8f,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!not-for-mail From: potapenko@chez.com (DJames) Newsgroups: borland.public.cppbuilder.internet.socket Subject: [INDY 9 - bcb5 TIdTCPServer] Problem using the Locklist function Date: 19 Dec 2004 11:29:30 -0800 Organization: http://groups.google.com Lines: 15 Message-ID: <a12d5bc.0412191129.6bce86d@posting.google.com> NNTP-Posting-Host: 80.201.81.100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1103484570 5480 127.0.0.1 (19 Dec 2004 19:29:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 19 Dec 2004 19:29:30 +0000 (UTC)