Article View: borland.public.cppbuilder.internet.socket
Article #1637Re: TIdTCPServer and TIdTCPClient
From: Lapo Guidi
Date: Tue, 12 Dec 2006 22:49
Date: Tue, 12 Dec 2006 22:49
12 lines
1420 bytes
1420 bytes
Yes, I supposed that.
At client side I do that:
when user update a cell at Row, Col I send a command to the server
TCPClient->SendCmd("UPDATE "+IntToStr(Row)+" "+IntToStr(Col));
So the Server receive the command and Client get Reply and Response back.
But how could I code a Thread at client side to receive the data from the
Server when the Client didn't send a command?
Could you help me giving me a little snip of code?
Thanks
Lapo
Technical Details
Message-ID:
<457f31bf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.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:
<457dfd00$1@newsgroups.borland.com> <457e38a7$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ca59e93c485c82fe X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Lapo Guidi" <lapoguidi@inwind.it> Newsgroups: borland.public.cppbuilder.internet.socket References: <457dfd00$1@newsgroups.borland.com> <457e38a7$3@newsgroups.borland.com> Subject: Re: TIdTCPServer and TIdTCPClient Date: Tue, 12 Dec 2006 23:49:44 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 87.18.126.143 Message-ID: <457f31bf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1165963711 87.18.126.143 (12 Dec 2006 14:48:31 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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