🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Server Socket Problem

#4578
From: Remy Lebeau (TeamB)
Date: Thu, 13 Jan 2005 17:37
19 lines
1638 bytes
"Patrick Wong" <patrickwong@computer.org> wrote in message
news:41e64988$1@newsgroups.borland.com...

> The main thread holds the server socket listens to a specific
> port and creates a thread to accept a client request

Like I said before, ICS does not use threads for managing its connections.
If you are using your own threads, then you would be better off using a
blocking server, such as Indy's servers, rather than a non-blocking one,
such as ICS's.

> What is this property?  I can't find it in ICS TWSocket.

It is in the beta version.  In the Release version, the queue size is
hard-coded to 5.


Gambit
Technical Details
Message-ID: <41e6b163$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41e50bd0@newsgroups.borland.com> <41e5d556@newsgroups.borland.com> <41e63652$1@newsgroups.borland.com> <41e64988$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9670bce8fe2a64d1
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: <41e50bd0@newsgroups.borland.com> <41e5d556@newsgroups.borland.com> <41e63652$1@newsgroups.borland.com> <41e64988$1@newsgroups.borland.com>
Subject: Re: Server Socket Problem
Date: Thu, 13 Jan 2005 09:37:26 -0800
Lines: 21
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: <41e6b163$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105637731 68.69.17.41 (13 Jan 2005 09:35:31 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail