Article View: borland.public.cppbuilder.internet.socket
Article #2879Re: Reading data from TServerSocket in TClientSocket
From: Remy Lebeau (TeamB)
Date: Mon, 02 Jan 2006 22:53
Date: Mon, 02 Jan 2006 22:53
22 lines
1808 bytes
1808 bytes
"Maurice Anderson" <mauriceanderson@hotmail.com> wrote in message news:43b753c8$1@newsgroups.borland.com... > Hello Bob, I updated my code with your suggestions but to no avail Those changes were unnecessary. > Are you saying that there are times that ClientSocket->OnRead > will execute in the main thread? If you are using TClientSocket in the main thread to begin with, then the OnRead event will always be triggered in the context of the main thread. TClientSocket is not a threaded component. > If so what would cause it to alternate between executing in a > seperate thread and executing in the main thread? It wouldn't ever do that. Gambit
Technical Details
Message-ID:
<43b9ae58$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43b72c70$1@newsgroups.borland.com> <thjer1h3bk668mqjsldbil598c69mo46po@4ax.com> <43b753c8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,eeddadf8c21d2f02 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: <43b72c70$1@newsgroups.borland.com> <thjer1h3bk668mqjsldbil598c69mo46po@4ax.com> <43b753c8$1@newsgroups.borland.com> Subject: Re: Reading data from TServerSocket in TClientSocket Date: Mon, 2 Jan 2006 14:53:06 -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; Original NNTP-Posting-Host: 68.69.17.41 Message-ID: <43b9ae58$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1136242264 68.69.17.41 (2 Jan 2006 14:51:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail