🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Multiple TIdTCPServer

#4866
From: Willie
Date: Fri, 03 Dec 2004 03:38
35 lines
1979 bytes
Hello Remy:

More question.
The TIdPeerThread is a thread.
Can I set an IdPeerThread's priority to higher?
If possible, how can I do?

Thank you very much.
Willie.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> ���g��l��s�D
:41af54d6$1@newsgroups.borland.com...
>
> "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: <41afdcfb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.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
References: <41af3d4c$1@newsgroups.borland.com> <41af54d6$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
From: "Willie" <Willie.nospam@nospam.pchome.com.tw>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41af3d4c$1@newsgroups.borland.com> <41af54d6$1@newsgroups.borland.com>
Subject: Re: Multiple TIdTCPServer
Date: Fri, 3 Dec 2004 11:38:50 +0800
Lines: 37
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: <41afdcfb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102044411 211.20.227.67 (2 Dec 2004 19:26:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.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