🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2667

Multi-threaded TCP Server with Indy 9

#2667
From: Martin
Date: Fri, 10 Mar 2006 09:25
10 lines
1217 bytes
Does anybody has a C++ example for a multi-threaded TIdTcpServer using Indy 
9?
I want to create a thread for each TCP connection, to handle different 
communication states.

I did this before with TServerSocket, but had no chance to make it stable.
Now i want to switch to Indy 9 with BDS2006.

Thanks for any help
Martin 
Technical Details
Message-ID: <441145d6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,77f2a3a304e17124,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Martin" <martin@styleworx.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Multi-threaded TCP Server with Indy 9
Date: Fri, 10 Mar 2006 10:25:23 +0100
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.189.109.34
Message-ID: <441145d6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1141982678 81.189.109.34 (10 Mar 2006 01:24:38 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail