🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: stThreadBlocking Vs stNonBlocking confusion

#4516
From: Remy Lebeau (TeamB)
Date: Wed, 02 Feb 2005 11:54
14 lines
1774 bytes
"Stefano Bonifazi" <stefboombastic@email.it> wrote in message
news:4200a790@newsgroups.borland.com...

> The problem is that even if I searched all google as You suggested I
> only could find examples of Threadblocking ServerSocket using the
> user made Threads with TWinSocketStream, nothing using the common
> OnClientRead event!

It is much easier and linear to code for ClientExecute() rather then
OnClientRead.  You can keep your processing localized rather than spread out


Gambit
Technical Details
Message-ID: <4200bec4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!news-east.rr.com!news-west.rr.com!news.rr.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41fe906e@newsgroups.borland.com> <41fe99bf$1@newsgroups.borland.com> <41ff64b9@newsgroups.borland.com> <41ffbb99@newsgroups.borland.com> <41ffd3aa$1@newsgroups.borland.com> <4200a790@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4f7607071b9a8537
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: <41fe906e@newsgroups.borland.com> <41fe99bf$1@newsgroups.borland.com> <41ff64b9@newsgroups.borland.com> <41ffbb99@newsgroups.borland.com> <41ffd3aa$1@newsgroups.borland.com> <4200a790@newsgroups.borland.com>
Subject: Re: stThreadBlocking Vs stNonBlocking confusion
Date: Wed, 2 Feb 2005 03:54:37 -0800
Lines: 16
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: <4200bec4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107345092 68.69.17.41 (2 Feb 2005 03:51:32 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!news-east.rr.com!news-west.rr.com!news.rr.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail