🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdTCPServer and TIdTCPClient

#1635
From: Lapo Guidi
Date: Tue, 12 Dec 2006 00:52
17 lines
1473 bytes
Hi all,
I have a problem using TIdTCPServer and TIdTCPClient together.
I try to explain better:
In the server and client side I have a TStringGrid.
The clients connect to the server and can update every cell on the string 
grid sending a command to the server.
The server receive the command and update the cell on his string grid.
Now the server send to all the clients connected a sort of command to tell 
them to update the right cell.
Now the question: There's a way to do that without a TTimer (at client side) 
with a ReadLn inside?
Should I use a Thread?
Could somebody help me?

Thanks very much.

Lapo 
Technical Details
Message-ID: <457dfd00$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ca59e93c485c82fe,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Lapo Guidi" <lapoguidi@inwind.it>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdTCPServer and TIdTCPClient
Date: Tue, 12 Dec 2006 01:52:18 +0100
Lines: 19
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: <457dfd00$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1165884672 87.18.126.143 (11 Dec 2006 16:51:12 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail