Article View: borland.public.cppbuilder.internet.socket
Article #4671Re: Server Socket Problem
From: Patrick Wong
Date: Thu, 13 Jan 2005 10:12
Date: Thu, 13 Jan 2005 10:12
24 lines
1968 bytes
1968 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:41e63652$1@newsgroups.borland.com... > > You said that you are using ICS. ICS does not use separate threads for each > connection. Even if it did, though, the server has to call accept() first > for each connection, and that occurs in a different thread than the ones > that are created to service the clients after they connect. My earlier > comments still stand. > The main thread holds the server socket listens to a specific port and creates a thread to accept a client request > > That is determined programmably by the server when it begins listening for > connections. It passes a parameter to listen() to specifies how large the > queue can be. > > > Is this a tunable parameter elsewhere? > > Use the ListenBacklog property. > What is this property? I can't find it in ICS TWSocket.
Technical Details
Message-ID:
<41e64988$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!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-mailReferences:
<41e50bd0@newsgroups.borland.com> <41e5d556@newsgroups.borland.com> <41e63652$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: "Patrick Wong" <patrickwong@computer.org> Newsgroups: borland.public.cppbuilder.internet.socket References: <41e50bd0@newsgroups.borland.com> <41e5d556@newsgroups.borland.com> <41e63652$1@newsgroups.borland.com> Subject: Re: Server Socket Problem Date: Thu, 13 Jan 2005 18:12:22 +0800 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 203.82.252.252 Message-ID: <41e64988$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105611144 203.82.252.252 (13 Jan 2005 02:12:24 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!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