🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Client / Server Socket....

#3533
From: Remy Lebeau (TeamB)
Date: Fri, 19 Aug 2005 17:04
26 lines
1629 bytes
"Paul" <plmacca@clara.co.uk> wrote in message
news:43058ac8$1@newsgroups.borland.com...

> In examples I have had before on using BCB server and client
> components, the spawned server socket thread either waits for
> data, or transmits data.  This doesn't seem to aid an asynconous
> protocol

I have implemented asynchronous protocols using server threads.  They work
fine.

> as depending how long you are prepared to wait can delay transmitting
data.

Not necessarily.

> Does this mean the BCB components don't cater for a fully
> async messaging system?

They do, if you use them in non-blocking mode.  Then you don't need threads.
But then you can only process data as fast as you can process queued
messages.


Gambit
Technical Details
Message-ID: <4306110f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43058ac8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c4f84c0147b64fb7
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: <43058ac8$1@newsgroups.borland.com>
Subject: Re: Client / Server Socket....
Date: Fri, 19 Aug 2005 10:04:24 -0700
Lines: 28
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: <4306110f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124471055 68.69.17.41 (19 Aug 2005 10:04:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail