Article View: borland.public.cppbuilder.internet.socket
Article #3209Multi-threaded TCP server
From: Rasid
Date: Thu, 27 Oct 2005 11:18
Date: Thu, 27 Oct 2005 11:18
11 lines
1586 bytes
1586 bytes
I wanted to write a multi-threaded tcp server application using Indy's TIdTCPServer. But I couldn't find how to integrate the thread object (that I wrote seperately from the tcp project and included in with its header) with the thread manager (ThreadMgr) of the server. The thread manager has a property called ThreadClass to determine the type of thread instances that it creates. Now the question is 'how can I make this ThreadClass property represent the thread object that I wrote.' Any suggestion for writing a multi-threaded tcp server application is also very welcome. Rasid
Technical Details
Message-ID:
<4360b6d0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4a1aa81ad250bfce,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Rasid" <rasid.pac@bilten.metu.edu.tr> From: "Rasid" <rasid.pac@bilten.metu.edu.tr> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Multi-threaded TCP server Date: Thu, 27 Oct 2005 14:18:20 +0300 Lines: 13 Organization: Bilten X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 NNTP-Posting-Host: 193.140.92.250 Message-ID: <4360b6d0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130411728 193.140.92.250 (27 Oct 2005 04:15:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail