Article View: borland.public.cppbuilder.internet.socket
Article #3171Re: TServerSocket Not Receiving Data
From: Remy Lebeau (TeamB)
Date: Mon, 14 Nov 2005 22:03
Date: Mon, 14 Nov 2005 22:03
22 lines
1915 bytes
1915 bytes
"Bill Cain" <bill.ctr.cain@faa.gov> wrote in message news:4378d734$1@newsgroups.borland.com... > The problem that I am encountering is that the socket > does not appear to be accepting data received from a > client after connecting to the client. Accept and > Connection Events are triggered but no Read Event is > triggered. You did not specify whether you are using the OnGetThread event to create your own reading thread or not. That is important. If you are using your own thread class, then you should not be using the OnClientRead event at all. On the other hand, if you are using the stock thread class that is built into TServerSocket, then the only possible way for the OnClientRead event to not be triggered is if either: 1) the client disconnects without sending any data; 2) the client stays connected but does not send any data; or 3) the main thread is blocked such that TThread::Synchronize() cannot trigger the events. Gambit
Technical Details
Message-ID:
<43790cb7$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.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-mailReferences:
<4378d734$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ed98f643ba2c61e4 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: <4378d734$1@newsgroups.borland.com> Subject: Re: TServerSocket Not Receiving Data Date: Mon, 14 Nov 2005 14:03:11 -0800 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 10.143.11.199 Message-ID: <43790cb7$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132006583 10.143.11.199 (14 Nov 2005 14:16:23 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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