🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientSocket OnRead event issues

#1940
From: Remy Lebeau (TeamB)
Date: Thu, 14 Sep 2006 17:30
14 lines
1605 bytes
"Josh Arnold" <jarnold@atterotech.com> wrote in message
news:45098f13@newsgroups.borland.com...

> It appears that the client socket needs a "garbage read"
> in order to get the OnRead event working.

No, it does not.  Like I said earlier, non-blocking sockets use window
messages as internal notifications.  You do not need a dummy read in order
to begin receiving those notifications.  Something else has to be happening
that is blocking them.


Gambit
Technical Details
Message-ID: <45099230@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4508a026@newsgroups.borland.com> <4508a3f3$2@newsgroups.borland.com> <4508aab1$1@newsgroups.borland.com> <4508b143@newsgroups.borland.com> <450949ba$1@newsgroups.borland.com> <45095b16@newsgroups.borland.com> <45096c00@newsgroups.borland.com> <45098f13@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6164f1b08fcaf5c2
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: <4508a026@newsgroups.borland.com> <4508a3f3$2@newsgroups.borland.com> <4508aab1$1@newsgroups.borland.com> <4508b143@newsgroups.borland.com> <450949ba$1@newsgroups.borland.com> <45095b16@newsgroups.borland.com> <45096c00@newsgroups.borland.com> <45098f13@newsgroups.borland.com>
Subject: Re: TClientSocket OnRead event issues
Date: Thu, 14 Sep 2006 10:30:11 -0700
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: 70.40.40.167
Message-ID: <45099230@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1158255152 70.40.40.167 (14 Sep 2006 10:32:32 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail