🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Multiple TIdTCPServer

#4863
From: Remy Lebeau (TeamB)
Date: Thu, 02 Dec 2004 17:44
20 lines
1465 bytes
"Willie" <Willie.nospam@nospam.pchome.com.tw> wrote in message
news:41af3d4c$1@newsgroups.borland.com...

> Can I use multiple TIdTCPServers in an application?
> For example: IdTCPServer1, IdTCPServer2,...., IdTCPServerN.

Technically yes, but why would you want to?  A single TIdTCPServer can
handle multiple clients at a time.

> When the clients connect to IdTCPServer1, the other IdTCPServer can't
accept
> clients.

Then either 1) your servers are all trying to listen on the same IP/Port, or
2) your client handling code is wrong.  Please describe your setup in more
detail.


Gambit
Technical Details
Message-ID: <41af54d6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41af3d4c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,bcb11f40fbaab32b
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41af3d4c$1@newsgroups.borland.com>
Subject: Re: Multiple TIdTCPServer
Date: Thu, 2 Dec 2004 09:44:23 -0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41af54d6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102009558 68.69.17.41 (2 Dec 2004 09:45:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail