🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: server socket

#4182
From: Hans Galema
Date: Thu, 17 Mar 2005 13:45
13 lines
1368 bytes
loukiachr wrote:
> can one server socket handle many client sockets?

Do you mean a TServerSocket ? Then Yes.

> i want to create a server (using server socket)that transfers file to each
> client that is connected accordingly to the file that is requested..for
> example if client1 asks for a.txt give him,but in the same time client2
> might ask b.txt and give him...

That is quite possible.

Hans.
Technical Details
Message-ID: <42398a86$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <423963b8$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b5f37cb24ca8c183
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 17 Mar 2005 14:45:53 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: server socket
References: <423963b8$2@newsgroups.borland.com>
In-Reply-To: <423963b8$2@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: <42398a86$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111067270 129.125.201.248 (17 Mar 2005 05:47:50 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail