🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TServerSocket - Limiting Connections

#5754
From: Hans Galema
Date: Mon, 21 Jun 2004 20:46
8 lines
1152 bytes
Joe St. Onge wrote:

> Anyone know how to restrict the number of connections that a server socket
> will accept?

The way to to that is to Close the Socket that comes in as second.

Hans.
Technical Details
Message-ID: <40d748d4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40d739d9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,68e81cd18de9d3fe
X-Google-Attributes: gid11508e,public
Date: Mon, 21 Jun 2004 22:46:11 +0200
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TServerSocket - Limiting Connections
References: <40d739d9@newsgroups.borland.com>
In-Reply-To: <40d739d9@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <40d748d4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1087850708 129.125.201.248 (21 Jun 2004 13:45:08 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail