🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TServerSocket and client connections

#5059
From: hans galema
Date: Fri, 29 Oct 2004 15:50
14 lines
1225 bytes
America wrote:
> Can I Disconnect a client by the server side??I try Disconnect but close all
> connections.

Call

	Socket->Close();

for that client in an eventhandler for that client or
use the Connections[] array.

	ServerSocket1->Socket->Connections [n]->Close();

Hans.
Technical Details
Message-ID: <418266c3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41825566@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,55d599a3430ba3b3
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 29 Oct 2004 17:50:46 +0200
From: hans galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TServerSocket and client connections
References: <41825566@newsgroups.borland.com>
In-Reply-To: <41825566@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <418266c3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099065027 129.125.201.248 (29 Oct 2004 08:50:27 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail